[Mono-dev] Embedded Mono question

Miguel de Icaza miguel at novell.com
Mon May 5 17:38:41 EDT 2008


> How can achieve the same with Mono?

Today you have two choices, they both boil down to exposing the API in a
C-friendly way.   You can bind the API by hand and expose C callable
methods (extern "C" { void ... }), this is what we do in Moonlight, we
expose C entry points to constructors, destructors and methods that must
be invoked from managed code.

The other option is to generate the bindings using a tool like SWIG that
is able to generate the bindings by parsing header files.  


More information about the Mono-devel-list mailing list