[Mono-list] Porting MS C++ Managed Extensions

Miguel de Icaza miguel at novell.com
Sat Oct 10 16:59:02 EDT 2009


> I have received some questions on whether I could make my project
> cross-platform. I think mono wouldn't have any problems with the plain .NET
> code (C#) but its the interop that uses the C++ managed extensions that is
> MS specific.
> Is there such a thing as managed extensions on other platforms? Or something
> that would allow me to implement a C++ <-> .NET bridge?

There is no C++ to .NET bridge that works with Mono.   For your code to
work on MacOS and Linux, you need to rewrite your bridge to use
P/Invokes into a plain C glue library.


More information about the Mono-list mailing list