Compartilhar via


AfxAbort

The default termination function supplied by MFC.

void AfxAbort( );

Remarks

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

See Also

Concepts

MFC Macros and Globals