Open patopat opened 1 year ago
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
Hi,
Could you confirm that, now, is not possible to read struct containing array defined like this, even if size of array is marshalling ?
Regards, Pat