Delphi Clinic C++Builder Gate Training & Consultancy Delphi Notes Weblog Dr.Bob's Webshop
Bob Swart (aka Drs.Bob) Dr.Bob's Delphi Clinics Dr.Bob's Delphi Courseware Manuals
View Bob Swart's profile on LinkedIn Drs.Bob's Delphi Notes
These are the voyages using Delphi Enterprise (and Architect). Its mission: to explore strange, new worlds. To design and build new applications. To boldly go...

Windows CE 5.0 Device Emulator on Windows 2003

Author: Bob Swart
Posted: 10/15/2005 10:16:17 PM (GMT+1)

As I mentioned earlier (in my upcoming article for The Delphi Magazine for example), the system requirements for the Microsoft Windows CE 5.0 Device Emulator list Windows 2000 SP4 or Windows XP SP1 (or later).
Unfortunately, that's a complete list, since it will simply refuse to install on Windows 2003 (with or without SP1).
Which is a bummer, since I use Windows 2003 Standard Edition on my laptop (if only because SharePoint 2003 requires Windows 2003).

Obviously, I wouldn't just repeat this information if I hadn't found a solution for this issue (at last). The following are the steps required to manually install the Microsoft Windows CE 5.0 Device Emulator on Windows 2003 (at your own risk!).
  1. Download Windows CE 5.0 Device Emulator (8/27/2004 - 3,770,832 bytes).
  2. Extract the setup.exe by running it with the /a command-line switch.
This will not give you the above error message, but after a while presents you with a dialog that explains that the Setup Wizard will create a server image of Microsoft Windows CE 5.0 Emulator at a specified network location.
You can click Next to specify the location, which can also be on your local disk, so I've specified C:\WinCE.
The result is the following list of files:
  • C:\WinCE
      Microsoft Windows CE 5.0 Emulator.msi

  • C:\WinCE\program files\Windows CE 5.0 Emulator

  • C:\WinCE\System

  • C:\WinCE\Windows\SYSTEM32\Drivers
Running Microsoft Windows CE 5.0 Emulator.msi on Windows 2003 will give us the same old error message again, so you can just delete that file.

The VMNet*.* files (for the Virtual Machine Network Services Driver) can be installed with the following steps:
  1. Open the Network Connections (in the Control Panel)
  2. Right-click on one of the Local Area Connections and select Properties
  3. Click on Install, and Add a new Service
  4. In the Select Network Service dialog, click on Have Disk, and then select the VMNetSrv.inf file from C:\WinCE
  5. Click on OK to install the (unsigned) Virtual Machine Network Services driver

  6. The VMM.sys file must be copied or moved to the %WinDir%\system32\Drivers directory
If MSXML4 is not already installed on your machine, then you also need to perform the following two steps:
  1. Copy or move the three files from the C:\WinCE\System directory to the %WinDir%\system32 directory
  2. Run regsvr32 msxml4.dll to register msxml4
Optionally, you can now move the C:\WinCE\program files\Windows CE 5.0 Emulator directory to the "normal" C:\Program Files directory.

In the end, you can run the emulator as follows:
    emulator_500 /CEImage NK.cem /video 240x320x16 /ethernet shared

When all this works, you can install the Pocket PC 2003 SDK and Emulator images, too.



Philippe Requilé06/01/05 21:30:36Hi Bob. Nice solution. I noticed (after a few hours try) that the emulator doesn't run in a VMWare session. See for more information.
Jared 07/06/08 23:17:41Looks good! Very useful, good stuff. Good resources here. Thanks much!
Khanna 08/03/18 16:30:39Hi Bob.Nice stuff.I can able to run an exe, but i can't able to deploy it through Visual stdio.Please help me out. Thanks.
Rajendran 09/01/07 08:01:43Bob, thats perfect, thanks for ur help, thanks a lot again

New Comment (max. 2048 characters, no HTML):


This webpage © 2005-2014 by Bob Swart (aka Dr.Bob - All Rights Reserved.