Thanks in advance.Tom
You could do this:_set_abort_behavior(0, _WRITE_ABORT_MSG);
http://msdn.microsoft.com/en-us/library/e631wekh.aspx