The Windows CE Technology Tutorial: Windows Powered Solutions for the Developer

The Windows CE Technology Tutorial: Windows Powered Solutions for the Developer

Pub. Date:

Paperback - Rent for

Select a Purchase Option (BK&CD ROM)
  • purchase options

Temporarily Out of Stock Online


The Windows CE Technology Tutorial: Windows Powered Solutions for the Developer

"If you want the straight shot on writing code for the hottest information appliances powered by Windows CE, this book is your guiding light. A must for any serious developer of Windows CE-based applications!"
--Scott Henson, Group Manager, Windows CE Developer Evangelism, Microsoft Corporation

This practical guide is designed to get programmers up and running with Windows CE, Microsoft's emerging operating system for handheld PCs and other alternative computing devices. This book helps you learn Windows CE programming by building on your experience with Windows 98 and NT. Although other resources may take a more theoretical approach to Windows CE, The Windows CE Technology Tutorial focuses on the essential topics and practical programming techniques you will need to create real-world Windows CE applications.

By using a sample application that is explored throughout the book, Muench walks you step-by-step through all of Windows CE's major technologies, functions, and capabilities--from the most basic skills through advanced techniques. Making extensive use of COM technology, he shows you how to create an application framework and prototype, work with the file system and registry, program for graphics and sound, design the user interface, and enable printing and connectivity. By book's end, this sample application is ready for deployment, complete with a redistributable setup. Smaller code snippets are also used to illustrate important techniques and concepts.

You will find coverage of such specific topics as:

  • Choosing the proper device and installing Windows CE
  • Available Windows CE development tools
  • Windows CE application development with Visual C++ and Visual Basic
  • Creating a COM server and ActiveX control
  • Distributed COM and DeviceCOM
  • The Windows CE registry
  • ADOCE for database access
  • Windows CE Internet integration
  • Adding support for such remote technologies as RAPI, WinSocks, infrared communication, and an ActiveSync provider

In addition, The Windows CE Technology Tutorial offers an overview of Windows CE technology and COM fundamentals.


Product Details

ISBN-13: 9780201616422
Publisher: Addison-Wesley
Publication date: 05/05/2000
Series: Addison-Wesley Microsoft Technology Series
Edition description: BK&CD ROM
Pages: 624
Product dimensions: 7.30(w) x 9.10(h) x 1.50(d)

Table of Contents





1. Why Windows CE?

What Is Windows CE?

Windows CE versus Embedded Windows NT.

2. Preparing Your PC for Windows CE.

Choosing the Right PC.

Get at Least a Pentium II or K6-2 with 300MHz.

Use Windows 2000 Professional or Windows 2000 Server.

Get a Lot of RAM.

Use the New Dual-or Multi-Monitor Support.

Get a Big Hard Disk.

Use a Network Interface Card (NIC).

Use DVD-ROM Instead of CD-ROM.

Choosing the Right Windows CE Device.


3. Installing Your PC.

Installing the Operating System.

Installing the Development Tools.

Office 2000.

Visual Studio 98.

The eMbedded Visual Tools 3.0.

The Windows CE Platform SDKs.

ActiveSync 3.1.

Setting Up Your Windows CE Device to Connect to the Workstation.

Create a Direct Dial-Up Connection Using 115K Baud.

Setting the Default Connection for the PC-Link.

Test Your Connection to the PC.

Optional Steps: Using a LAN Card to Connect to Your PC.

4. The Windows CE Development Tools.

Windows CE Tools.

Remote File Viewer.

Remote Heap Walker.

Remote Process Viewer.

Remote Registry Editor.

Remote Spy++.

Remote Zoomin.

The Control Manager.

eMbedded Visual C++ versus eMbedded Visual Basic.

The eMbedded Visual Basic Environment.

Creating, Downloading, and Debugging a Small eVB Application.

The eMbedded Visual C++ Environment.

Creating, Downloading, and Debugging a Small C++ Application.

Using the Windows CE Platform Manager.

Choosing the Right Framework for Your Task.

Basic Windows CE Development Tips.

Compile-Time Version Checking.

Compile-Time Platform Detecting.

Runtime Version Checking.

Accessing Debug Messages in ActiveX Controls.

Debugging ActiveX Controls.

5. The Thread-Example Pocket-CD-Manager.

The Pocket-CD-Manager Feature List.

Creating the Framework of Your Application.

Differences between the Desktop and Windows CE Versions.







Differences in Project Settings.

The User Interface of the Pocket-CD-Manager.



Creating a Prototype of PCDM.

Creating the Desktop Version of the Prototype.

Porting the Desktop Prototype to Windows CE.

Preparing the DeluxeCD Database.

Converting the Desktop eVB Project to an eVB Project.

Migrating Forms and Code.

Migrating ADO Desktop to ADO for Windows CE.


6. COM for Windows CE.

A Short Introduction to COM.

How Does COM Work?


Early Binding No Longer Necessary.

Communicating EXE to EXE.

Making Remote Communication Seamless.

COM Activation Methods.

In-Place Activation.

ActiveX Controls.

Inproc: In-Process Activation.




COM+ Services.

Creating a Small COM Server.

Creating a COM Server for Windows CE.

Generating the Desktop-Equivalent COM Server.

Calling the COM Server in C++.

Using #import.

Calling the COM Server in Visual Basic.

Creating an ActiveX Control.

Creating an ActiveX Control for Windows CE.

Generating the Desktop Equivalent.

Using the Control in eMbedded Visual C++.

Using the Control in eMbedded Visual Basic.

Creating the Wrapper Controls for the PCDM.

DCOM: Distributed COM.

deviceCOM: The Industrial Version of DCOM.

Installation of deviceCOM.

Starting DCServer as a COM Surrogate.

A Small deviceCOM Example.

Other Features of deviceCOM.



7. The Windows CE User Interface.

The Command Bar.

Adding a Command Bar to an Application.

PCDMUI: Including the Command Bar.

Testing the Control in eMbedded Visual Basic.

Calling the Control from the PCDM Application.


The Command-Band.

Adding the Command-Band to an Application.

Updating the PCDMCommander Class.

Testing the New PCDMCommander Class in eMbedded Visual Basic.

Using the PCDMCommander Class in the PCDM Application.


Special Palm-size PC Considerations.

Small Example Showing the Application Menu Bar.

Updating Your PCDMCommander Class.

Testing the New Class in eMbedded Visual Basic for Palm-size PC 2.0.

Verifying Your PCDM Application.

The List View Control.

Including the List View Control in an Application.

Adding the List View Control to PCDMUI.DLL.

Testing the New CPCDMList Class in Visual Basic.

Using the New CPCDMList Class in the PCDM Application.


Other Supported Common Controls.

Common Controls That Are Not Supported.

Printing in Windows CE.

The Hardware Buttons on Palm-size PCs.

The Action and Escape Keys.

The Application Launch Keys.

The Soft Input Panel.

A Simple Application Showing the SIP.


Testing the New PCDMUI in Visual Basic.

Ink Control.

Creating a Small Ink Control Application.

Other Ink Control Functions.

8. Storage.

The Windows CE Registry.

Adding CPCDMAccessReg to the PCDMDLL.DLL.

Testing the New CPCDMAccessReg in eMbedded Visual Basic.

The File System.

No Drive Letters.

The Name ''Storage Card'' Can Be Localized.

''My Documents'' on a Palm-size PC.

The Object Store.

A Simple API Application Accessing the Object Store.

A Simple MFC Application Accessing the Object Store.

Adding Object Store Access to the PCDMDLL.DLL.

Testing the New Class in eMbedded Visual Basic.

Adding the PCDMAccessDB Class to the PCDM Application.

ADO for Windows CE.

A Simple Application Using ADO.

Adding ADO to the PCDMAccessDB Class.

Retesting ADO Changes in eMbedded Visual Basic.

Pocket-Access Files.

Copying an Access 2000 Database to the Emulation.

Synchronizing Pocket-Access with Access 2000 Databases.

Updating the PCDM to Use the New Database.

9. Remote and Connectivity.

Using RAS as TCP/IP Provider.

Install the Communication Cable between Two PCs.

Setting the Baud Rate of the Communication Cable to 115K.

Set Up Windows 2000 Incoming Connections.

Windows 2000 Server in a Domain Environment.

Remote API.

A Small RAPI Example.

Converting ObjectStoreIt to a Desktop Application.

Updating Your PCDM Application with RAPI.

Testing the Class in Visual Basic for the Desktop.

ActiveSync: Keep in Sync with Your Data.

The Concept of ActiveSync.

Creating an ActiveSync Service Provider for the PCDM.

Some Debugging Tips.


Distributed COM.


A Tiny Winsock Example.

The PCDM Application.

IrDA or Infrared: The Wireless Wire.

Adding IrDA Support to Your Winsock Example.

Adding IrDA Support to the PCDMDLL.

Test the New PCDMDLL in eMbedded Visual Basic.

Implementing @BHEADS = Send to...''/

Receive...''in the PCDM Application.

HTTP: Integration of the Internet.

Wininet: The Client Internet API.

A Small Wininet Example.

The Web Server Issue.

10. Graphics and Sounds.

Loading Bitmaps.

Using LoadBitmap().

Using SHLoadDiBitmap().

Using Custom Code.

Adding a Picture Class to the PCDMUI.DLL.

Displaying Bitmaps Using GDI.

Updating OnDraw of the PCDMPicture Class.

Testing the PCDMPicture Class in eMbedded Visual Basic.

Updating the PCDM Application.

Playing Sounds Using the Windows CE API.

Adding a Sound to the PCDM Application.

DirectX on Windows CE.

11. Miscellaneous Topics.

Enhancements for Pocket PC Devices.

Window Size Must Be Calculated Differently.

Only Full-Screen Dialog Boxes.

A Tiny Example.


Creating Help Files for Your Application.

Creating a Help File for the PCDM Application.

Calling the Help File from within the PCDM Application.

Creating a Control Panel Application.

Adding an Icon to the Taskbar.

Adding a Task-bar Icon to Your PCDM Application.

Installation for Windows CE.

Installation Targeting Windows CE.

The Installer Information File (.INF).

Creating the Installer File for Your PCDM Application.

Creating a CEF Installation for PCDM.

Writing a Custom SetupDLL.

CF-Card Instant-Installer for the Pocket PC.

Creating an Installation for the Desktop.

Rules to Make Your App Logo-Compliant.

Logo Requirements of All Target Platforms.

Special H/PC Logo Requirements.

Special Palm-size PC Requirements.

12. Conclusions and Visions.

A Word about Your PCDM Application.

What's Next?

How Small Will It Become?

The Dark Side of the New World.

What Can You Do to Take Part?

Where Is the Technology Now?

III. Appendices.

Appendix A. Frequently Asked Questions.

Appendix B. The PCDMUtils Class.

Appendix C. Glossary and Abbreviations.

Appendix D. Tips and Tricks for Unicode versus ANSI.

Index. 0201616424T04062001

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews