# Qsafeseh

Registers exception handlers for safe exception handling.

## Architecture Restrictions

Only available on IA-32 architecture

## Syntax

Linux: | None

macOS: | None

Windows: | /Qsafeseh[-]

## Arguments

None

## Default

ON | Exception handlers are enabled for safe exception handling.

## Description

Registers exception handlers for safe exception handling. It also marks objects as "compatible with the Registered Exception Handling feature" whether they contain handlers or not. This is important because the Windows linker will only generate the "special registered EH table" if ALL objects that it is building into an image are marked as compatible. If any objects are not marked as compatible, the EH table is not generated.

Digital signatures certify security and are required for components that are shipped with Windows, such as device drivers.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Code Generation Options

## See Also

/EH compiler option