B
Bevo
a) My cMyMainForm throws an unhandled exception (in my
case a third party component throws a SEHException when
hovering the mouse pointer over it). I want to display my
own dialog box instead of .NET's and take the system down
gracefully.
b) I've tried the UnhandledException event but I cant
find any functionality that allows me to suppress the
exception dialog, in fact the exception dialog is
displayed BEFORE the event is fired.
c) I could always try/catch the Application.Run method in
my Main method but when I'm inside the catch my form
object is long gone so I cant show ANY dialog.
Any suggestions on how to accomplish a)?
case a third party component throws a SEHException when
hovering the mouse pointer over it). I want to display my
own dialog box instead of .NET's and take the system down
gracefully.
b) I've tried the UnhandledException event but I cant
find any functionality that allows me to suppress the
exception dialog, in fact the exception dialog is
displayed BEFORE the event is fired.
c) I could always try/catch the Application.Run method in
my Main method but when I'm inside the catch my form
object is long gone so I cant show ANY dialog.
Any suggestions on how to accomplish a)?