[Mono-dev] Embedded Mono question

Luis Villegas luisvill at bungie.com
Mon May 5 18:37:46 EDT 2008


Thank you Miguel,

Are you planning on having other long term alternatives for this scenario inside the Mono API?

Thank you,
Luis Villegas

-----Original Message-----
From: Miguel de Icaza [mailto:miguel at novell.com]
Sent: Monday, May 05, 2008 2:39 PM
To: Luis Villegas
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Embedded Mono question

Hello,

> 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.

Miguel.
>


More information about the Mono-devel-list mailing list