FIX: A fatal exception may occur in the AYGShell component if the GetProcAddress function fails when you start a Windows CE .NET 4.2-based platform (893414)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

You may experience the following conditions:
  • When you start a Microsoft Windows CE .NET 4.2-based platform that uses the AYGShell component, a fatal exception may occur that makes the device stop functioning.
  • The GetProcAddress function may return the base address of the DLL when the call to the GetProcAddress function fails. The expected behavior is that the GetProcAddress returns NULL on failure.

CAUSE

This problem occurs because an error in the GetProcAddress function implementation causes the base address of the DLL module to be returned instead of NULL when the module resides in process slot 0 and the requested entry point is not exported. A known scenario exists where the common controls initialization code calls the GetProcAddress function on the AYGShell component for an entry point that is not exported. In this scenario, the common controls initialization code tries to call the resulting module base address. However, this module base address does not contain executable code.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE .NET 4.2 Core OS QFE 893414. 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 software update is supported only if all previously issued software updates for this product have also been installed.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.
   Date         Time   Size       File name
   ----------------------------------------------------------------------
   11-May-2005  19:30  9,587,200  Wincepb42-050511-kb893414-armv4.msi
   11-May-2005  19:30  9,590,784  Wincepb42-050511-kb893414-armv4i.msi
   11-May-2005  19:30  9,673,728  Wincepb42-050511-kb893414-mipsii.msi
   11-May-2005  19:30  9,790,976  Wincepb42-050511-kb893414-mipsii_fp.msi
   11-May-2005  19:30  9,719,296  Wincepb42-050511-kb893414-mipsiv.msi
   11-May-2005  19:30  9,844,736  Wincepb42-050511-kb893414-mipsiv_fp.msi
   11-May-2005  19:30  9,401,856  Wincepb42-050511-kb893414-sh3.msi
   11-May-2005  19:30  9,428,992  Wincepb42-050511-kb893414-sh4.msi
   11-May-2005  19:30  9,258,496  Wincepb42-050511-kb893414-x86.msi
The English version of this software update has the file attributes (or later file attributes) 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   Size       File name
   -------------------------------------------
   Path: Public\Common\Oak\Lib\Armv4\Debug
   03-May-2005  21:03  1,904,706  Nkmain.lib
   03-May-2005  21:03  2,030,440  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Armv4\Retail
   03-May-2005  21:02  1,204,700  Nkmain.lib
   03-May-2005  21:03  1,307,412  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   03-May-2005  21:03  1,908,932  Nkmain.lib
   03-May-2005  21:03  2,034,910  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   03-May-2005  21:03  1,207,298  Nkmain.lib
   03-May-2005  21:03  1,310,534  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   03-May-2005  21:04  1,944,662  Nkmain.lib
   03-May-2005  21:04  2,082,498  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   03-May-2005  21:04  1,239,438  Nkmain.lib
   03-May-2005  21:04  1,354,092  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   03-May-2005  21:04  2,012,616  Nkmain.lib
   03-May-2005  21:04  2,150,458  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   03-May-2005  21:04  1,299,876  Nkmain.lib
   03-May-2005  21:04  1,414,636  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   03-May-2005  21:05  1,971,036  Nkmain.lib
   03-May-2005  21:05  2,110,316  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   03-May-2005  21:05  1,255,426  Nkmain.lib
   03-May-2005  21:05  1,371,300  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   03-May-2005  21:05  2,043,852  Nkmain.lib
   03-May-2005  21:05  2,183,148  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   03-May-2005  21:05  1,320,886  Nkmain.lib
   03-May-2005  21:05  1,436,868  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh3\Debug
   03-May-2005  21:06  1,577,658  Nkmain.lib
   03-May-2005  21:06  1,688,916  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh3\Retail
   03-May-2005  21:06  1,054,520  Nkmain.lib
   03-May-2005  21:06  1,154,818  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   03-May-2005  21:06  1,598,166  Nkmain.lib
   03-May-2005  21:06  1,709,496  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   03-May-2005  21:06  1,073,216  Nkmain.lib
   03-May-2005  21:06  1,173,506  Nkprmain.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   03-May-2005  21:02  1,579,142  Nkmain.lib
   03-May-2005  21:02  1,691,002  Nkprmain.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   03-May-2005  21:02  1,009,190  Nkmain.lib
   03-May-2005  21:02  1,102,338  Nkprmain.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:7/25/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB893414 kbAudOEM