[Mono-dev] Embedded Mono question

Luis Villegas luisvill at bungie.com
Mon May 5 17:08:42 EDT 2008


I have been thinking of a theoretical case for using Mono as an embedded scripting platform, where the majority of the application would be developed in C/C++ and for extensibility it would use Mono for scripting.

Imagine a situation where I have a rich C++ class library, and would like to expose some of that to managed code.  In the Windows World I would end up using C++\CLI for wrapping the parts I care about.

How can achieve the same with Mono?

After looking at the documentation for embedding it seems to me that you can expose C functions to Mono (via DllImport(Internal) or internal calls), but it is unclear to me how to expose classes.

Thank you,
Luis Villegas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080505/01023837/attachment.html 

More information about the Mono-devel-list mailing list