Microsoft KB Archive/904937

From BetaArchive Wiki

Article ID: 904937

Article Last Modified on 7/25/2006



APPLIES TO

  • Microsoft Windows CE Platform Builder 3.0




SYMPTOMS

Consider the following scenario. You create an application by using Microsoft Windows CE Platform Builder 3.0. The application calls the FindWindow API function together with a specified window name. In this scenario, the FindWindow function may not return, and the application thread may stop responding (hang). Additionally, if you use the win command of the CE Shell (CESH) utility in the Windows CE Platform Builder target control window, the operation may not be completed.

CAUSE

This problem occurs because the Oleaut32.dll library creates a hidden window that does not have an associated message loop. This problem only occurs if the following conditions are true:

  • The application uses the VarBstrFromR8 function. The VarBstrFromR8 function is an API conversion function that is included in the Oleaut32.dll library.
  • The application does not have a message loop that dispatches messages to the hidden Oleaut32.dll window.


If another application calls the FindWindow API function or a related API, the Graphics, Windowing, and Events Subsystem (GWES) may be blocked.


RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 3.0 Core OS QFE 904937. 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   Version    Size       File name
   ------------------------------------------------------------------------------
   10-Aug-2005  21:25  3.0.5.810  1,391,344  Wincepb30-050810-kb904937-arm720.exe
   10-Aug-2005  21:25  3.0.5.810  1,432,304  Wincepb30-050810-kb904937-ppc403.exe
   10-Aug-2005  21:25  3.0.5.810  1,432,304  Wincepb30-050810-kb904937-ppc821.exe
   10-Aug-2005  21:25  3.0.5.810  1,411,824  Wincepb30-050810-kb904937-r3000.exe
   10-Aug-2005  21:25  3.0.5.810  1,407,728  Wincepb30-050810-kb904937-r4100.exe
   10-Aug-2005  21:25  3.0.5.810  1,387,248  Wincepb30-050810-kb904937-r4111.exe
   10-Aug-2005  21:25  3.0.5.810  1,411,824  Wincepb30-050810-kb904937-r4300.exe
   10-Aug-2005  21:25  3.0.5.810  1,391,344  Wincepb30-050810-kb904937-sa1100.exe
   10-Aug-2005  21:25  3.0.5.810  1,530,608  Wincepb30-050810-kb904937-sh3.exe
   10-Aug-2005  21:25  3.0.5.810  1,530,608  Wincepb30-050810-kb904937-sh4.exe
   10-Aug-2005  21:25  3.0.5.810  1,424,112  Wincepb30-050810-kb904937-thumb.exe
   10-Aug-2005  21:25  3.0.5.810  1,301,232  Wincepb30-050810-kb904937-x86.exe

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\Arm\Arm720\Ce\Debug
   29-Jul-2005  17:48  1,316,770  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Arm\Arm720\Ce\Retail
   29-Jul-2005  17:48    962,204  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Arm\Sa1100\Ce\Debug
   29-Jul-2005  17:45  1,312,950  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Arm\Sa1100\Ce\Retail
   29-Jul-2005  17:45    958,918  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R3000\Ce\Debug
   29-Jul-2005  17:46  1,394,876  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R3000\Ce\Retail
   29-Jul-2005  17:46  1,129,580  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4100\Ce\Debug
   29-Jul-2005  17:46  1,395,988  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4100\Ce\Retail
   29-Jul-2005  17:46  1,128,260  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4111\Ce\Debug
   29-Jul-2005  17:47  1,234,994  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4111\Ce\Retail
   29-Jul-2005  17:47    948,664  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4300\Ce\Debug
   29-Jul-2005  17:47  1,388,746  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Mips\R4300\Ce\Retail
   29-Jul-2005  17:47  1,123,970  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Ppc\Ppc403\Ce\Debug
   29-Jul-2005  17:47  1,362,504  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Ppc\Ppc403\Ce\Retail
   29-Jul-2005  17:47    986,804  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Ppc\Ppc821\Ce\Debug
   29-Jul-2005  17:48  1,362,504  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Ppc\Ppc821\Ce\Retail
   29-Jul-2005  17:47    986,804  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Shx\Sh3\Ce\Debug
   29-Jul-2005  17:45  1,523,646  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Shx\Sh3\Ce\Retail
   29-Jul-2005  17:45  1,511,042  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Shx\Sh4\Ce\Debug
   29-Jul-2005  17:46  1,526,418  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Shx\Sh4\Ce\Retail
   29-Jul-2005  17:46  1,512,888  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Thumb\Arm720\Ce\Debug
   29-Jul-2005  17:48  1,326,244  Oleaut32.lib

   Path: Public\Common\Oak\Lib\Thumb\Arm720\Ce\Retail
   29-Jul-2005  17:48    995,620  Oleaut32.lib

   Path: Public\Common\Oak\Lib\X86\I486\Ce\Debug
   29-Jul-2005  17:45  1,068,366  Oleaut32.lib

   Path: Public\Common\Oak\Lib\X86\I486\Ce\Retail
   29-Jul-2005  17:45    833,012  Oleaut32.lib

STATUS

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

Keywords: kbbug kbfix kbqfe kbpubtypekc KB904937