Microsoft KB Archive/91146

{|
 * width="100%"|

PRB: SEH with Abort in the try Body

 * }

Q91146

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), included with:
 * the operating system: Microsoft Windows NT, versions 3.1, 3.5, 3.51
 * Microsoft Windows 95

-

SYMPTOMS
When using Structured Exception Handling, if the try body calls abort, the finally body is not executed.

CAUSE
The finally body is not executed because the abort never returns. It calls ExitProcess, which terminates the process.

RESOLUTION
This behavior is by design.

Additional query words: 3.10 3.50 4.00

Keywords : kbOSWinNT310 kbOSWinNT350 kbOSWinNT351 kbOSWin95

Issue type :

Technology : kbAudDeveloper kbWin32sSearch kbWin32API