The Windows CE Technology Tutorial - Chris Muench

The Windows CE Technology Tutorial

Windows Powered Solutions for the Developer

Chris Muench (Autor)

Media-Kombination
624 Seiten
2000
Addison Wesley
978-0-201-61642-2 (ISBN)
46,20 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Meant for developers of Windows CE-based applications, this book deals with the writing code for the information appliances powered by Windows CE.
This is the first complete Windows developer's guide to leveraging the power of Windows CE 3.0 and future "Windows-powered" devices. Leading Windows CE developer Chris Muench teaches Windows developers all they need to know to build CE 3.0 applications fast. Start by setting up and mastering the Windows CE 3.0 "Rapier" development environment; then, walk step-by-step through building a robust CE application that utilizes COM components, integrates with Windows 2000 and other Windows desktops, and even provides Internet connectivity. Along the way, developers will learn how to design CE user interfaces, support printing, storage, and remote access; synchronize with desktops via the latest version of ActiveSync; incorporate graphics and audio; even integrate with Pocket Outlook.

Chris Muench is Siemens's technology ambassador to Microsoft. There, he works closely with the Windows CE development team, bringing Windows CE technology to Siemens as well as providing feedback from his own company to Microsoft. In this position, he has access to the latest Windows CE versions, devices, software development kits, and compilers. 0201616424AB04062001

Preface.


Acknowledgments.


Foreword.
I. READY…SET…GO!

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.



Summary.

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.



stdafx.h.



PCDM.CPP.



Mainfrm.cpp.



PCDMoc.cpp.



PCDMView.cpp.



Resources.



Differences in Project Settings.



The User Interface of the Pocket-CD-Manager.

''File''.
''Help''.


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.



Summary.

6. COM for Windows CE.


A Short Introduction to COM.



How Does COM Work?



Versioning.



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.



EXE to EXE.



MTS or DLLHOST.EXE.



DCOM.



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.



Summary.

II. WINDOWS CE IN DETAIL.

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.



Summary.



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.



Summary.



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.



Summary.



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.



ShowSIP() for PCDMDLL.DLL.



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.



Summary.



Distributed COM.



Winsock.



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.



Summary.



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

Erscheint lt. Verlag 17.5.2000
Verlagsort Boston
Sprache englisch
Maße 190 x 230 mm
Gewicht 1041 g
Themenwelt Informatik Betriebssysteme / Server Windows
ISBN-10 0-201-61642-4 / 0201616424
ISBN-13 978-0-201-61642-2 / 9780201616422
Zustand Neuware
Haben Sie eine Frage zum Produkt?