C
Chris Soulsby
If an exception is raised in a non-main thread then it is not handled.
To get around this I created method that would use the invoke method
on the main form to raise this exception on the main thread. For
example:
this.Invoke(new InvokeDelegate(this.ThreadExceptionHandler),new
object[]{o});
However, this still does not seem to work correctly as I still get an
unhandled exception. It does not fall back to the main() function
where my catch all code is. Can anyone tell me whats going on?
Thanks for any help.
Chris
To get around this I created method that would use the invoke method
on the main form to raise this exception on the main thread. For
example:
this.Invoke(new InvokeDelegate(this.ThreadExceptionHandler),new
object[]{o});
However, this still does not seem to work correctly as I still get an
unhandled exception. It does not fall back to the main() function
where my catch all code is. Can anyone tell me whats going on?
Thanks for any help.
Chris