C
Christoph Basedau
Hi
in order to give the user a last info before his app dies, due to
uncaught exceptions
we implemented the code from msdn (<URL:http://msdn.microsoft.com/en-
us/library/ms223898.aspx>) that utilizes
Application.SetUnhandled,
Application.ThreadException,
AppDomain.CurrentDomain.UnhandledException.
As expected unhandled non-UI exceptions no go through our method
'OnUnhandledException'
and a last grave note is displayed to our user.
Nonetheless after 'OnUnhandledException' is out of scope, the runtime
still
crashes with sth like "windows encountered a problem with app.exe,
app.exe is shutdown".
This msg also occurs when unhandled exceptions are not directed to any
handler.
Is there a way to suppress this OS-crash message?
Thx
Christoph
in order to give the user a last info before his app dies, due to
uncaught exceptions
we implemented the code from msdn (<URL:http://msdn.microsoft.com/en-
us/library/ms223898.aspx>) that utilizes
Application.SetUnhandled,
Application.ThreadException,
AppDomain.CurrentDomain.UnhandledException.
As expected unhandled non-UI exceptions no go through our method
'OnUnhandledException'
and a last grave note is displayed to our user.
Nonetheless after 'OnUnhandledException' is out of scope, the runtime
still
crashes with sth like "windows encountered a problem with app.exe,
app.exe is shutdown".
This msg also occurs when unhandled exceptions are not directed to any
handler.
Is there a way to suppress this OS-crash message?
Thx
Christoph