[Mono-list] Can I call c# code from c code?

markhamblin at cox.net markhamblin at cox.net
Wed Feb 14 13:12:32 EST 2007


I have a large C# project that runs under Windows and makes use of C-DLLs that have callbacks into the C# code.

I am trying to figure out if it's possible to port all of this to mono.  I understand how to call C code from C# and how to embed the mono runtime in C code, but I don't see a way to do what I need without embedding mono.

What this means to me is that I need to create a C-code base that includes all of the C-code DLLs that I use under Windows, and also loads up and runs the main application via mono.  Is that right?

Thanks in advance for any help.
Mark Hamblin


More information about the Mono-list mailing list