PRB: Error When You Try to Run an HPC 2000 Project on a Jornada 720 Processor (304725)



The information in this article applies to:

  • Microsoft eMbedded Visual C++, Version:4.0

This article was previously published under Q304725

SYMPTOMS

When a customer tries to run an HPC 2000 project on a Hewlett-Packard Jornada 720, he or she receives the following error message:
The targeted platform does not match the device currently connected to your system.

CAUSE

This problem occurs because the device is missing the HKEY_LOCAL_MACHINE\Windows CE Tools registry key that contains the Platform={0F9D255B-97DA-4641-A8E6-7A7411D2472F} string value.

RESOLUTION

On all processors except CEPC, you must add the above-mentioned registry key to the device registry in order for eMbedded Visual C++ 3.0 and eMbedded Visual Basic 3.0 to recognize the platform and allow files to be downloaded properly.

To add the registry key, follow these steps:
  1. Open the eMbedded Visual Basic (eVB) or eMbedded Visual C++ (eVC++) Integrated Development Environment (IDE).
  2. From the Tools menu, click Remote Tools, and then click Registry Editor.
  3. From the Registry Editor menu, click Connection, and then click Add Connection.
  4. In the Select a Windows CE Device dialog box, click to expand the HPC 2000 node in the tree, click HPC 2000 (Default Device), and then click OK. This establishes a connection to the device.
  5. Click to expand the HPC 2000 registry tree, and add the following key to the registry:

    HKEY_LOCAL_MACHINE\Windows CE Tools

    with the following string value:

    Platform={0F9D255B-97DA-4641-A8E6-7A7411D2472F}

  6. After you add the key and string value, perform a soft reset of the device so that the changes take effect.

MORE INFORMATION

The ActiveX Controls and Visual Basic Run-time files are not registered on the CEPC processor.

Modification Type:MajorLast Reviewed:6/30/2004
Keywords:kbprb KB304725