Share via


Exception Handling Migration (Windows CE 5.0)

Send Feedback

The following items are important to understand when migrating an OS design that throws C++ exceptions or uses run-time type information:

The C++ Runtime Support for Exception Handling and Runtime Type Information Catalog item enables applications to throw exceptions in C++, and to use run-time type information support. You can include this functionality by setting the associated SYSGEN variable, SYSGEN_CPP_EH_AND_RTTI.

In past versions, the C++ Runtime Support for Exception Handling and Runtime Type Information Catalog item was separated into two different Catalog items:

  • C++ Exception Handling, associated with a SYSGEN variable called SYSGEN_CPP_SEH
  • Runtime Type Information, associated with a SYSGEN variable called SYSGEN_CPP_RTTI.

Both items existed in the C Libraries and Runtimes tree beneath Core OS / Windows CE devices / Applications and Services Development.

These SYSGEN variables have been removed from Windows CE 5.0, and replaced by a single new SYSGEN variable, SYSGEN_CPP_EH_AND_RTTI. To include C++ Runtime Support for Exception Handling and Runtime Type Information in a Windows CE 5.0 OS design, set the SYSGEN_CPP_EH_AND_RTTI variable.

See Also

Exception Handling for Windows CE | Microsoft C Run-time Library for Windows CE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.