Wceload.exe Update Is Available for Custom Programs (297962)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 3.0

This article was previously published under Q297962

SYMPTOMS

You can use the update that is described in this article for custom integration into installation programs. After finishing the installation of a module, the loader performs the following new actions:
  • It flushes the registry. For example, this allows flash-based devices to save registry changes to their external volume. See the WriteRegistryToOEM call in the MSDN Windows CE For OEMs Reference document for additional information.
  • It sets a named event, allowing a separate program to be notified when an installation has finished. See the "More Information" section of this article for additional information.

RESOLUTION

A supported fix is now available from Microsoft as Windows CE 3.0 Core OS QFE 50. To resolve this problem immediately, search for the keyword "QFE" on the following Microsoft Web site: The English version of this package should have the following file attributes or later:
   Size     File name
   -----------------------
   907,608  Wce30qfe50.exe
				
The English version of this fix should contain the following files, with the listed file attributes or later:
   Date         Time   Size    File name    Platform
   --------------------------------------------------------
   26-Jun-2001  21:33  51,815  Wceload.exe  ARM720 (retail)
   26-Jun-2001  19:46  50,791  Wceload.exe  SA1100 (retail)
   28-Jun-2001  05:23  57,447  Wceload.exe  R3000 (retail)
   28-Jun-2001  07:02  57,447  Wceload.exe  R4100 (retail)
   10-Jul-2001  18:44  45,159  Wceload.exe  R4111 (retail)
   27-Jun-2001  05:43  56,935  Wceload.exe  R4300 (retail)
   28-Jun-2001  08:38  56,423  Wceload.exe  PPC403 (retail)
   27-Jun-2001  08:42  54,887  Wceload.exe  PPC821 (retail)
   27-Jun-2001  00:09  47,204  Wceload.exe  SH3 (retail)
   28-Jun-2001  02:13  47,204  Wceload.exe  SH4 (retail)
   27-Jun-2001  10:25  43,113  Wceload.exe  ARM720 (retail)
   28-Jun-2001  17:17  40,549  Wceload.exe  i486 (retail)

   Date         Time     Size  File name    Platform
   -------------------------------------------------------
   11-Jul-2001  14:44  75,366  Wceload.exe  ARM720 (debug)
   26-Jun-2001  19:59  74,342  Wceload.exe  SA1100 (debug)
   28-Jun-2001  05:36  81,510  Wceload.exe  R3000 (debug)
   28-Jun-2001  07:13  81,510  Wceload.exe  R4100 (debug)
   28-Jun-2001  04:00  56,422  Wceload.exe  R4111 (debug)
   27-Jun-2001  05:54  80,998  Wceload.exe  R4300 (debug)
   28-Jun-2001  08:51  79,974  Wceload.exe  PPC403 (debug)
   27-Jun-2001  08:53  78,438  Wceload.exe  PPC821 (debug)
   27-Jun-2001  00:22  67,171  Wceload.exe  SH3 (debug)
   28-Jun-2001  02:26  67,171  Wceload.exe  SH4 (debug)
   27-Jun-2001  10:36  56,936  Wceload.exe  ARM720 (debug)
   28-Jun-2001  17:22  63,588  Wceload.exe  i486 (debug)
				

MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site: For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site: This is boilerplate code to detect the named event signal (this information is included to document the event name):
HANDLE hEvent = CreateEvent(NULL,TRUE,FALSE,TEXT("WCELOAD_CompleteEvent"));
if (NULL != hEvent)
{
   if (WAIT_OBJECT_0 == WaitForSingleObject(hEvent, INFINITE))
   {
      // Wceload has just completed.  Do whatever necessary here.
   }
   else
   {
      // Failure case, see WaitForSingleObject API reference
   }
   CloseHandle (hEvent);
}
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:7/21/2003
Keywords:kbbug kbfix kbQFE KB297962