[Mono-dev] mono-Interop with Native Libraries

marcus julius marcusjls at yahoo.com
Fri Sep 3 04:58:29 EDT 2010


Hi,

I've just started reading about Interop with Native Libraries in C# and Mono, so before I started doing something I want to ask more experienced people as a last resort.

I wanna send a managed class (which extends another class, has another class as a field and some methods) to unmanaged C++ side. 

The question is, is there a way to do this without preparing the class for marshaling using something like these?
[StructLayout(LayoutKind.Sequential)]
[MarshalAs(UnmanagedType.LPWStr)]
etc.

Thanks.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100903/6301aeaa/attachment.html 


More information about the Mono-devel-list mailing list