[Mono-devel-list] Using embedded Mono from Mozilla XPCOM

Boyd Timothy boyd at timothy.ws
Wed Jun 2 19:03:20 EDT 2004


I've been able to get a skeleton XPCOM module/component built for a
Mozilla plugin.  I've written the .idl files and gotten all the C++
files in place and can successfully call them from Javascript.

On the other side of things, I successfully got a test program written
in "C" to call C# code using embedded Mono.

So, now I'm to the point where I'd like to bridge these two and allow my
XPCOM C++ code to call Mono C#, but I'm stuck on the compile.  Once I
include the #includes for the Mono stuff, I get all kinds of errors. 
Has anyone else tried to do this and been successful?

The errors I get start out saying that it can't find "glib.h" and then
it ends up having loads of "parse errors" while parsing through the Mono
header files.

Any ideas?

Boyd Timothy




More information about the Mono-devel-list mailing list