Microsoft KB Archive/835932

= A C++ exception that is thrown in a DLL module causes an Illegal Instruction exception =

Article ID: 835932

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
A C++ exception result is not caught in the enclosing C++ exception handler.

This behavior occurs when certain code in one module calls a function in a different module. Specifically, when the code in the try block calls a function in an EXE module or in a DLL module that is different from the module that contains the try block and the C++ exception handler.

This behavior may cause unexpected behavior or may cause the application to stop responding.

When you use the Embedded Visual C++ debugger, the debugger may report the following exception:

0xC000001D Illegal Instruction



CAUSE
This problem occurs because the ARM compiler does not generate the correct code for the C++ exception handler when a function in a different EXE module or DLL module is called.



Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 040213_KB835932. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This fix is supported only when all previously issued fixes for this product have also been installed.

Restart Requirement
You must perform a clean operation and rebuild the platform and export the platform SDK after you apply this fix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this package has the file attributes (or later) that are listed in the following table.   Date         Time   Version            Size    File name 14-Feb-2004 00:51  4.2.4.213         981,744  Wincepb42-040213-kb835932-common.exe The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --

Path: Sdk\Bin\I386 03-Feb-2004 23:59  12.20.9775.0      884,736  C2_arm.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates

Keywords: kbbug kbfix kbqfe KB835932

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.