all groups > visual c libraries > december 2004 >
You're in the

visual c libraries

group:

How to disable Microsoft Visual C++ Runtime Library popup


How to disable Microsoft Visual C++ Runtime Library popup Rob
12/3/2004 1:31:01 PM
visual c libraries: I have an unattended application that I want to exit on exception. It
appears that certain exceptions in the CRT (caused by bugs in our code) cause
a 'Microsoft Visual C++ Runtime Library' popup that requires acknowledgement
before the application exits. I'm concerned that if I implement an unhandled
exception handler, it will not handle these cases if the CRT already is. Is
there a way to disable this apparent exception handling within the CRT? Or
is my understanding incorrect?

Re: How to disable Microsoft Visual C++ Runtime Library popup Ashok K Kumar
12/4/2004 11:28:52 AM
Have you tried setting a unhandled exception handler? If I am right, if your
application does not handle the exception, then the runtime exception dialog
will be displayed. So setup your unhandled exception handler and then you
wont get those dialogs. Having said that, IMHO why not solve the problem
rather than trying something new.

--
_____________________
Ashok K Kumar
ashokkal at gmail dot com
[quoted text, click to view]

AddThis Social Bookmark Button