Microsoft KB Archive/240435

From BetaArchive Wiki

Article ID: 240435

Article Last Modified on 8/19/2005



APPLIES TO

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft Windows CE 2.11 for the Handheld PC
  • Microsoft eMbedded Visual Basic 3.0, when used with:
    • Microsoft Windows CE 2.11 for the Handheld PC



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.

FileName Size
Wcelupd.exe 33KB
Wce10003.bin 49KB
Wce4000.bin 60KB
Readme.txt 2KB


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



Additional query words: VBCE WceLoad PsPC PPC eVB

Keywords: kbinfo kbdownload kbtoolkit kbpatch kbfile kbappsetup kbdeployment KB240435