[Mono-list] mono_runtime_invoke not catching exceptions?

efontana eric at fontanas.net
Tue Feb 21 17:36:45 UTC 2012


I'm using Embedded mono, I created a small test program who's method I can
call and as a test
I had that method do a throw new Exception("Catch this in C++");

I passed in a MonoObject* exception = NULL; as the last argument to 

mono_runtime_invoke, the method returns, however exception is still NULL. 
it's not being caught?

Am I missing something, 

I googled and found this guy has the same problem, I'm also using 2.10.8 on
Windows:

See Also
http://stackoverflow.com/questions/8587202/some-exceptions-are-not-being-caught-correctly-in-an-embedded-mono-runtime



--
View this message in context: http://mono.1490590.n4.nabble.com/mono-runtime-invoke-not-catching-exceptions-tp4407688p4407688.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list