/EH - Exception Handling Model
Collapse the table of content
Expand the table of content

/EH - Exception Handling Model (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This option specifies the model of exception handling to be used by the compiler.


The following table shows how to use the available options for /EH.

/EHs Specifies the synchronous exception-handling model.
/EHa Specifies the asynchronous exception-handling model.
/EHc Sets the compiler to assume that extern C functions never throw an exception. The /EHc option requires that /EHs, /EHa, or /GX - Enable Exception Handling is also specified.

The option can be cleared by the symbol "-". For example, /EHsc- is interpreted as /EHs /EHc-, and is equivalent to /EHs.

See Also

Compiler Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2015 Microsoft