[Mono-list] Support for Marshal.PtrToStructure in mono?
Kala B
kalabalun@yahoo.co.in
Thu, 23 Dec 2004 10:09:46 +0000 (GMT)
Hi,
Does mono provide support for Marshal.PtrToStructure?
My C# code makes a call to an unmanaged function,
which takes in a pointer to a structure. That
structure actually has a pointer to an array of
another structure. The code works perfectly in .net.
But in mono, it throws the following error and aborts.
** (./mytest.exe:16472): WARNING **: marshaling
conversion 12 not implemented
** ERROR **: file marshal.c: line 787
(emit_ptr_to_str_conv): should not be reached
aborting...
Abort
Thanks.
Regards
Kala B.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail