Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
When exceptional conditions occur in your program, be ready for them by supplying exception handlers. Visual C++ supplies three different mechanisms for handling exceptions. For guidance on which exception handling mechanism to use, see the overview.
The following categories of tasks are listed in this topic:
General Exception Tasks
MFC Exception Tasks
C++ Exception Tasks
Structured Exception Handling Tasks
What do you want to do?
General Exception Tasks
MFC Exception Tasks
Handle an exception: in MFC, in C++ without MFC, in C under Windows NT or Windows 95
Convert my program from MFC exception macros to C++ exceptions
Learn what to do with exceptions that occur in a constructor
C++ Exception Tasks
Note These tasks apply also to MFC.
Structured Exception Handling Tasks