Microsoft KB Archive/266236

= How To Use Serial Comm with Windows CE Emulators =

Article ID: 266236

Article Last Modified on 8/19/2005

-

APPLIES TO


 * Microsoft Office Keyboard

-



This article was previously published under Q266236



SUMMARY
The new PocketPC emulation does not require the Wceemuld driver in order for an application to use the serial port in emulation. This article describes the additional steps to set up the HPC Pro 3.0 and Palm-size 1.2 emulators for serial communications under Microsoft Windows NT 4.0 and Microsoft Windows 2000.



MORE INFORMATION
The Windows CE Platform emulators perform most of the functionality of a real device, with some limitations. In the case of the serial communications API, the emulators for the Palm-size PC 1.2 and HPC Pro 3.0 need to &quot;talk&quot; through a special driver in order to communicate over the serial port. However, the new PocketPC emulator does not need a special driver in order for an application to make use of the serial communications port.

Steps for Windows NT 4
The following are steps for setting up serial communications support for the HPC Pro 3.0 and Palm-size PC 1.2 emulators on a computer that is running Windows NT 4.0. Note that in order to perform all of these steps you must be logged on to the system as a user in the Administrators group.  Stop any applications that may be using the serial port. Stop the serial driver.  Open Control Panel. Open the Devices application. Click to select the device named Serial. Click Stop.</ol>

At this point you might consider disabling this driver so that if you occasionally stop and restart your system, you do not need to repeat step 2.

</li> Start the driver named Wceemuld. <ol style="list-style-type: lower-alpha;"> Open Control Panel.</li> Open the Devices application.</li> Click to select the device named Wceemuld.</li> Click Start.</li></ol>

Similar to step 2, you might consider setting this driver to Automatic so that it starts automatically when the system is started.</li></ol>

Steps for Windows 2000
In Windows 2000, manipulating drivers in this way requires some different steps. The following steps set up serial communications support for the HPC Pro 3.0 and Palm-size PC 1.2 emulators on a computer that is running Windows 2000: <ol> Stop any applications that may be using the serial port.</li> Disable the serial port. <ol style="list-style-type: lower-alpha;"> Right-click My Computer, and then click Properties.</li> Click the Hardware tab, and then click Device Manager.</li> Open the tree node named Ports (COMM & LPT).</li> Right-click a port node named Communications Port (COM1).</li> Click Disable. You will be prompted to restart Windows now. Click No.</li> Repeat steps d and e for each COM port.</li> Restart Windows 2000.</li></ol> </li> Start the Wceemuld driver. <ol style="list-style-type: lower-alpha;"> Open a command prompt.</li> <li>Type the Net command to start a service, specifying Wceemuld. For example:

net start wceemuld

</li></ol> </li></ol>

There are no steps described for Windows 9x because the emulators are not supported on this operating system.

Keywords: kbhowto KB266236

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.