[Mono-dev] Exception catching in C...

Thomas Wiest twiest at novell.com
Thu Jan 4 16:40:03 EST 2007


Robert Jordan wrote:
> The link in your previous mail was about p/invoke, where exceptions
> can't be caught, but since you're embedding Mono, there is an easy and
> documented way to handle exceptions:

Oh, sorry about the confusion. The mono embedding documentation is 
somewhat sparse, so I've been trying to learn stuff from the marshaling 
doc before asking questions on the list.

> mono_runtime_invoke's last argument is actually a MonoException**:

Wow, this is perfect. That's exactly what I needed.


Thanks,
Thomas



More information about the Mono-devel-list mailing list