Apparently the VC8 CRT supports a "set_unexpected":
http://msdn2.microsoft.com/en-us/library/h46t5b69(VS.80).aspx
and "set_terminate":
http://msdn2.microsoft.com/en-us/library/t6fk7h29(VS.80).aspx
which allow you to replace the "unexpected" and "terminate" functions,
respectively. I don't know what actually calls these, but apparently the
CRT may call terminate in some circumstances. It probably makes sense to
use these.
Original issue reported on code.google.com by ted.mielczarek on 25 Sep 2007 at 6:12
Original issue reported on code.google.com by
ted.mielczarek
on 25 Sep 2007 at 6:12