Article ID: 192998 - Last Review: November 16, 2001 - Revision: 1.0 INFO: VBCE: Differences Between Emulation and the Remote DeviceThis article was previously published under Q192998 On This PageSUMMARY
This article describes some of the differences between Windows CE Toolkit
for Visual Basic (VBCE) applications run in the emulator, on a desktop
computer, or on a remote device.
MORE INFORMATIONFonts and PaletteFont and palette issues can arise from differences between fonts and colors available on the remote device and in the emulator. The emulator gets such information from the Windows NT, Windows 2000 or WindowsXP operating system.The emulator can display any font properly installed on the host desktop. The remote device can only show the fonts available to it. Font substitutions will be made based on family and spacing: Font name Family Spacing --------- ------ ------- Arial san serif proportional Courier New serif fixed Symbol symbol proportional Tahoma san serif proportional Times New Roman serif proportional As with fonts, any color available to the desktop machine can be displayed in the emulator. However, the remote device has a more limited color palette and colors will be mapped to the nearest similar color: Black / Silver Red / Maroon Green / Lime Olive / Yellow Blue / Navy Teal / Aqua Purple / Fuchsia White / Gray Remote ToolsMost remote tools shipped with VBCE only work on the remote device, not in the emulator. The Windows CE Registry Editor and the Control Manager are the only remote tools that work in both environments.Application Manager (CeAppMgr.exe) cannot be used to install applications in the emulator. The program resides on the desktop computer, and it is responsible for adding and removing applications on the Windows CE device, as well as deleting the application files from the desktop computer. Windows CE Application Install Wizard (InstWzrd.exe) runs on the desktop computer and creates an installation program for your application. The installation program can be run from the development machine or other machines to install the application onto the remote device. Windows CE Heap Walker (ceheapwk.exe) enables you to view detailed information about heap identifiers and processes that are running on the remote device. It is also useful to determine if an application has memory leaks. Windows CE Process Viewer (cepview.exe) displays a graphical view on the desktop computer of Windows CE process and thread characteristics. The Process Viewer enables you to view memory usage and search for memory leaks. Windows CE Spy (cespy.exe) displays a graphical view on the desktop computer of Windows CE system processes, threads, windows, and window messages running on the remote device. Windows CE Zoom (cezoom.exe) captures an image from the remote device and displays it on the desktop computer. CommunicationsAccess to the serial ports on the desktop machine from the emulator requires a special driver, WCEEMULD. This file is installed as part of the "Device Driver Development Kit" (DDK), which can be installed during the Handheld PC Platform SDK installation. Please see the REFERENCES section below for further information.The VBCE Winsock control does not function in the emulation environment. The emulator does not support IRDA. System
REFERENCES
Windows CE Toolkit Help for Visual Basic 6.0
For additional information, please see the following articles in the Microsoft Knowledge Base: 158509
(http://support.microsoft.com/kb/158509/EN-US/
)
HOWTO: Install Additional Fonts in Windows CE
187532
(http://support.microsoft.com/kb/187532/EN-US/
)
HOWTO: Use the Remote Tools Installed with VBCE
193235
(http://support.microsoft.com/kb/193235/EN-US/
)
SAMPLE: VBCEComm.exe Uses the MSCEComm Control in Emulation
| Article Translations
|
Back to the top
