Hi,
Try calling mono_thread_attach () after calling
mono_jit_init (). That
will fix it. the embedding tutorial needs to be updated to
include this
(or mono_jit_init () needs to call mono_thread_attach ()
automatically).
bye
Zoltan
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of ext
Manish Gupta
> Sent: February 10,2004 12:51
> To: [EMAIL PROTECTED]
> Subject: Re: [Mono-list] how to get a handle to MonoImage
?? trying
> tocall C# codefrom C
>
>
> I was able to get it working. However, I faced a strange
problem. I
> created a test DLL with a method foo(). This method was doing
> some File
> IO. Things worked fine when I invoked this method from C.
>
> NOW, I introduced Console.Writeline() statement in the
function foo()
> and the result of invoking foo from C was ...
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list