[Mono-list] Start and call into mono VM from C/C++ ?

Jonathan Pryor jonpryor at vt.edu
Mon Oct 30 04:58:43 EST 2006


On Mon, 2006-10-30 at 10:28 +0200, Goldstein, Nachum (Jonathan) wrote:
> I would like to call into the mono VM from a C/C++ program. 
> I searched the mono site and google, and found only a technique to
> call C/C++ from C#. 
> I want to do the reverse. Something like:
> 
> int main(int argc, char** argv) { 
>         <create mono VM> 
>         <create a C# object instance> 
>         <call methods on the instance>
> }

You want the Mono embedding interface.  See:

	http://www.mono-project.com/Embedding_Mono

 - Jon




More information about the Mono-list mailing list