Cant'read struct containing array
patopat opened this issue · 0 comments
patopat commented
Hi,
Could you confirm that, now, is not possible to read struct containing array defined like this, even if size of array is marshalling ?
[StructLayout(LayoutKind.Sequential)]
public struct DB601
{
// Real, addr =92.0
public float var1;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
public byte[] var2;
// Real, addr=120.0
public float var3;
}
Regards,
Pat