AfxAbort
TRY
TOC
Collapse the table of content
Expand the table of content

AfxAbort

 

The default termination function supplied by MFC.


void AfxAbort( ); 

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.

Requirements

Header: afx.h

Show:
© 2016 Microsoft