PATCH: WCELoad.exe Fixes ActiveX Control Hanging Problem on Palm-size PC (240435)



The information in this article applies to:

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft Windows CE for the Palm-size PC, Versions 2.11
  • Microsoft eMbedded Visual Basic 3.0, when used with:
    • Microsoft Windows CE for the Palm-size PC, Versions 2.11

This article was previously published under Q240435

SUMMARY

WCELoad.exe is a patch that fixes a problem affecting the Palm-size PC devices running Windows CE version 2.11. The devices hang or reset during the self-registration process of ActiveX controls when they are installed through a packaged Application Install Wizard CAB file.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Release Date: Aug-27-1999

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
FileNameSize
Wcelupd.exe33KB
Wce10003.bin49KB
Wce4000.bin60KB
Readme.txt2KB

Target Device

Palm-size PCs running Windows CE version 2.11

Problem Description

Palm-size PC devices running Windows CE version 2.11 hang or reset during the self-registration process of ActiveX controls when they are installed within an Application Installation CAB file. This behavior occurs because the device-install program WCELoad.exe was not invoking CoInitializeEx before the self-registration process.

Update Package Description

This package silently installs the fixed WCELoad.exe file to a connected Palm-size PC device. If the connected device is not a color Palm-size PC, or the device already has the fixed file, then the package exits immediately with a successful return code.

Usage

Your desktop setup program needs to perform the following before invoking CEAppMgr to install the CAB files:
  1. Prompt the user to connect the device.
  2. Run the WCELupd.exe file and wait for it to complete.
  3. Examine the return code and handle it appropriately. In most cases, the only error return code that needs to be handled is the "device disconnected" return code 1.

Files to Redistribute

The following three files comprise this update package, and must reside in the same directory:

WCELupd.exe
WCE10003.bin
WCE4000.bin

Return Codes

Following are the possible return codes from WCELupd.exe:

0 - Success
1 - Device disconnected
2 - Unsupported color Palm-size PC processor
3 - ActiveSync RAPI error
4 - Windows CE Services or ActiveSync not installed
5 - General error


Modification Type:MinorLast Reviewed:8/19/2005
Keywords:kbdownload kbAppSetup kbDeployment kbfile kbinfo kbpatch kbToolkit KB240435