Hi,
I have a problem with marshaling nested structures
struct a
{
struct b s_b;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
struct d[] s_d;
}
struct b
{
struct c b_c;
}
- How could I marshal this ?
- Automarshaler (ref) or manuel (Marshal.StructureToPtr)?
- is struct d[] s_d; correct for an Array of structs?
Thanks
André Betz
http://www.andrebetz.de