|
-
October 21st, 2002, 11:18 PM
#1
marshal char[]
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|