I'm trying to do some interop with Win32 Comm handling, and at least one of the structures has fields that align on bit boundaries. Is there a way to do this in StructLayout.Explicit? I've been able to fake it out a little by using a [Flags] enum, but that doesn't work in the case of a two bit field.
Many thanks, Chris You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
