Heres a sample:
Imports System.Runtime.InteropServices
<StructLayout(LayoutKind.Explicit)>
Public Structure TimeStamp32
<FieldOffset(0)>
Public I32 As Int32
<FieldOffset(0)>
<VBFixedArray(3)> Public Bytes() As Byte
End Structure
It gives me an error saying "Could not load type TimeStamp32 ..blah blah.. because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field." While i could overlap the int with a single or whatever other 4 byte variable no problem.
I don't actually need this for that structure but it would greatly help me with managing my 128bit ID structure and potentially others if theres a way to make it work.