Read Paul's original response:
The sizeof a struct isn't necessarily the sum of the sizeof it's parts.What made you think that there isn't any padding bytes between those struct members?
Viggy
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 14 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |