Unhandled exception - How to turn off!
- From: "David F." <df2705@xxxxxxxxxxxxxxxx>
- Date: Tue, 20 Mar 2007 13:28:04 -0700
Hello,
I don't use exception handling and things like failed memory allocations
(new()) failures are expected and handled internally. I tried setting the
VS2005 ide setting for C++ Exception Handling to No yet when new() fails it
throws up a screen about a run-time error. If running in the VS2005
environment, you get
"Unhandled exception at 0x12345 in progname.exe: Microsoft C++ exception:
std::bad_alloc at memory location 0x121345"
Continue or Break. I can continue and continue and the program runs fine.
So how to I turn off all Exception Handling so it's not used at all???
(Ah - Maybe I have to recompile the entire library which is just about
impossible to move back to the old version at this point).
So let me ask this then, how do I setup some generic exception handler in
the main module that just returns so the program continues normally?
TIA!!
.
- Follow-Ups:
- Re: Unhandled exception - How to turn off!
- From: Ben Voigt
- Re: Unhandled exception - How to turn off!
- Prev by Date: Re: Subclassing woes
- Next by Date: Re: Unhandled exception - How to turn off!
- Previous by thread: Re: pass commandline argument when _UNICODE/UNCODE is defined.
- Next by thread: Re: Unhandled exception - How to turn off!
- Index(es):
Relevant Pages
|