Re: Avoiding the Abort/Retry/Ignore dialog on assertion
- From: "John H." <oldman_fromthec@xxxxxxxxx>
- Date: Fri, 12 Mar 2010 10:34:29 -0800 (PST)
Christian Hackl wrote:
I do not want the Abort/Retry/Ignore dialog to be opened by abort() on
assertions in a Win32 GUI application.
I agree that the MSDN docs on this do not seem to be correct. To get
behavior closer to what you want try adding
_set_error_mode(_OUT_TO_STDERR);
You could also try rolling your own version of assert to make the
message and actions more along the lines of what you wish to say and
do.
.
- Follow-Ups:
- Re: Avoiding the Abort/Retry/Ignore dialog on assertion
- From: Christian Hackl
- Re: Avoiding the Abort/Retry/Ignore dialog on assertion
- References:
- Avoiding the Abort/Retry/Ignore dialog on assertion
- From: Christian Hackl
- Avoiding the Abort/Retry/Ignore dialog on assertion
- Prev by Date: Avoiding the Abort/Retry/Ignore dialog on assertion
- Next by Date: own stackframe -> prob with exception handling
- Previous by thread: Avoiding the Abort/Retry/Ignore dialog on assertion
- Next by thread: Re: Avoiding the Abort/Retry/Ignore dialog on assertion
- Index(es):
Relevant Pages
|