The elements of m_arrRecord are pointers and not objects of SRecord type.
So, you have to pass sizeof(SRecord*) and not sizeof(SRecord).
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Using CString into static methodThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |