Exception Handling for Windows CE (Windows CE 5.0)
The Windows CE compilers provide built-in support for handling exceptions that occur during the execution of your program.
Exceptions can be detected by both hardware and software:
- Hardware exceptions include dividing by zero, and the overflow of a numeric type.
- Software exceptions include those you detect and signal to the system by calling the RaiseException function, and special situations detected by the OS.
In This Section
- Exception Handling for Embedded Visual C++
Describes the major differences between Win32 structured exception handling and C++ exception handling. - Structured Exception Handling in Windows CE
Describes how Structured Exception Handling operates in the Windows CE environment. - Exception Handling Migration
Provides information about SYSGEN variables needed to enable C++ exception handling in Platform Builder. - Exception-Handler Syntax
Describes the __try/__except syntax of exception-handler blocks, and describes how to prevent exception handling processes from opening the debugger.
Related Sections
- ARM Prolog and Epilog
Describes the ARM coding sequences that set up frame references to support stack unwinding. - SH-4 Prolog and Epilog
Describes the Renesas coding sequences that set up frame references to support stack unwinding. - MIPS Prolog and Epilog
Describes the MIPS coding sequences that set up frame references to support stack unwinding.
Send Feedback on this topic to the authors