[Mono-dev] Exception catching in C...
Thomas Wiest
twiest at novell.com
Tue Jan 2 22:02:40 EST 2007
Hey,
I'm embedding Mono and I'd like to know if there's a way for C to catch
all unhandled exceptions. From this line on the interop page, it seems
it is possible:
"It is very important that the unmanaged code not propagate any
exceptions -- it must catch all exceptions, or else the unmanaged code
calling the delegate will break."
from: http://www.mono-project.com/Interop_with_Native_Libraries
So, since C doesn't have exceptions, I assume I need to register a
function call back of some kind. I've checked MonoDoc and the website
for further explanation, but I haven't found anything.
Thanks,
Thomas
More information about the Mono-devel-list
mailing list