/EH - Exception Handling Model (Windows CE 5.0)

Send Feedback

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

/EH{s|a}[c][-]

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

Switch Description
/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.