R
Richard L Rosenheim
I have a structure like this:
Structure MyStruct
Public A as Byte
Public B as Short
Public C as Short
Public D as Short
End Structure
When I display the size of the structure, it's 8 bytes. Anyone know I can
force .NET not to pad and word align the structure? I'm sure there's an
attribute for doing it, but a Google search didn't find it. I tried
searching for "vb.net attribute align".
TIA,
Richard Rosenheim
Structure MyStruct
Public A as Byte
Public B as Short
Public C as Short
Public D as Short
End Structure
When I display the size of the structure, it's 8 bytes. Anyone know I can
force .NET not to pad and word align the structure? I'm sure there's an
attribute for doing it, but a Google search didn't find it. I tried
searching for "vb.net attribute align".
TIA,
Richard Rosenheim