For VC++ 6.0:-Start debugging your program. -Go to Debug | Exceptions... -Choose "e06d7363 Microsoft C++ Exception" from the bottom of the "Exceptions" list. -Choose "Stop always" -Click "Change" -Click "OK"Now your debugger will stop when it encounters a first-chance C++ exception, and you can examine the call stack, etc, and investigate. (You may need to restart the debugging session, if the exception has taken place before you get this setting changed.)
-Go to Debug | Exceptions...
-Choose "e06d7363 Microsoft C++ Exception" from the bottom of the "Exceptions" list.
-Choose "Stop always"
-Click "Change"
-Click "OK"Now your debugger will stop when it encounters a first-chance C++ exception, and you can examine the call stack, etc, and investigate. (You may need to restart the debugging session, if the exception has taken place before you get this setting changed.)