> How do you know the exception is occuring if you cannot catch it?
I am registering to Application.ThreadExit &
Application.ThreadException. The ThreadExit fires without
ThreadException. I am not sure this was exception, but why ThreadExit
fires ?
> Are you receiving a dialog?
No
> What version of the framework are you using?
3.0
> Are you aware that unhandled exceptions wont be caught in debug mode?
I know, but the problem that there are no exceptions, just thread exit.
> Why do you include sql 2005 plus unmanaged in your problem? Does the problem occur when
accessing code paths involving these services or is it just totally
random?
Random.
My main question is what can cause to main thread of Windows Forms
raise ThreadExit without rasing ThreadException before ?
Andy - 22 Jan 2007 21:10 GMT
ThreadExit just means the thread is shutting down, usually due to the
application ending. The ExitThread method would cause this to be
raised, as well as the last form closing.
> My main question is what can cause to main thread of Windows Forms
> raise ThreadExit without rasing ThreadException before ?