sammyh
October 21st, 2002, 11:18 PM
I am trying to interface with a dll that uses this typedef.
typedef struct{
char szGroupKey[64]; // grouping key
char szCoordSysKey[64]; // system key
char szDatumKey[64]; // datum key
char szUnitKey[64]; // unit key
} COORDSYSTEM;
I've tried
[ MarshalAs( UnmanagedType.ByValTStr, SizeConst=64 )]
[ MarshalAs( UnmanagedType.ByValArray, SizeConst=64 )]
and god knows what else.
I am going slighty insane;
Any help would be GREATLY appreciated;
Thanks
typedef struct{
char szGroupKey[64]; // grouping key
char szCoordSysKey[64]; // system key
char szDatumKey[64]; // datum key
char szUnitKey[64]; // unit key
} COORDSYSTEM;
I've tried
[ MarshalAs( UnmanagedType.ByValTStr, SizeConst=64 )]
[ MarshalAs( UnmanagedType.ByValArray, SizeConst=64 )]
and god knows what else.
I am going slighty insane;
Any help would be GREATLY appreciated;
Thanks