R
Ray Cassick
I have been investigating this subject a bit and ran across this gem in
MSDN:
http://msdn.microsoft.com/en-us/library/ms229017(VS.80).aspx
This seems to specifically state that structures should not be any longer
that 16 bytes in size. Seems a bit limiting to me since I can hit that limit
by this:
Public Structure MyStruct
Dim field1 as ULong
Dim field2 as ULong
Dim field3 as ULong
End Structure
I am assuming that they have a good reason for saying this but I have looked
everywhere and cant seem to locate it. Can someone comment as to why this is
the case? I am assuming is has something to do with memory allocation on the
stack versus the heap but I would love to locate a good definitive answer...
Thanks for any pointers...
MSDN:
http://msdn.microsoft.com/en-us/library/ms229017(VS.80).aspx
This seems to specifically state that structures should not be any longer
that 16 bytes in size. Seems a bit limiting to me since I can hit that limit
by this:
Public Structure MyStruct
Dim field1 as ULong
Dim field2 as ULong
Dim field3 as ULong
End Structure
I am assuming that they have a good reason for saying this but I have looked
everywhere and cant seem to locate it. Can someone comment as to why this is
the case? I am assuming is has something to do with memory allocation on the
stack versus the heap but I would love to locate a good definitive answer...
Thanks for any pointers...