Re: Avoiding the Abort/Retry/Ignore dialog on assertion



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.
.



Relevant Pages