Structured Exception Handling is a MSVC-specific C/C++ extension for handling runtime exceptions. By enabling an MSVC compiler flag (/Eha
), all C++ exceptions can be handled via SEH; otherwise, only __try
-__except
blocks use SEH by default. For more details on SEH works, see @kochharHowCompilerImplements2002.