[Mono-devel-list] MSVC build, fixed!

J Lothian rhalin at gmail.com
Sun Feb 13 19:11:06 EST 2005

I don't know how I missed this before, or why the compiler didn't
complain a bit about it.  I started looking into the function that was
crashing in the library:

and looked at this line..
MonoObject *(*runtime_invoke) (MonoObject *this, void **params,
MonoObject **exc, void* compiled_method);

I had assumed there was a reason that mono was using the "this"
pointer, but its a global function.  Changing it to a nonreserved
value, such as *thisObj works! The library now compiles, and executes!
 I ran test-6.exe under /embed/teste.c successfully!

This was definately an upswing to a lot of hard work getting this
thing together!

Let me know if there are any questions or comments about my work, or
things I may have left out of the documentation! Thanks again!

-J Lothian

More information about the Mono-devel-list mailing list