Original Post
Hi! This is a very simple (somewhat silly) bug I encoutered in VS.NET 2003: No matter how many variables in SomeStruct, uiSizeOfStruct is always equal to 4. If anyone has this bug, let me know. Until now I have no choice other than specify uiSizeOfStruct = 16. Thank you in advance. V@T [Edited by - Skeleton_V@T on October 29, 2005 3:42:37 AM]
struct SomeStruct
{
float Var1, Var2, Var3, Var4 ;
} ;
unsigned int const uiSizeOfStruct = sizeof (SomeStruct) ;