void AfxAbort( );
Remarks
The default termination function supplied by MFC. AfxAbort is called internally by MFC member functions when there is a fatal error, such as an uncaught exception that cannot be handled. You can call AfxAbort in the rare case when you encounter a catastrophic error from which you cannot recover.
Example
See the example for CATCH.