Synopses & Reviews
Get the popular, practical reference to developing small footprint applications—now updated for the Windows Embedded CE 6.0 kernel. Written by an authority on embedded application development, this book focuses in on core operating concepts and the Win32 API. It delivers extensive code samples and sample projects—helping you build proficiency creating innovative Windows applications for a new generation of devices.
Discover how to:
- Create complex applications designed for the unique requirements of embedded devices
- Manage virtual memory, heaps, and the stack to minimize your memory footprint
- Create multithreaded processes and handle events
- Use the Storage Manager to manage disparate file systems and volumes
- Store simple groups of data with the database API
- Read and write registry data, and enumerate keys and values
- Schedule user, timer event, system event, and bubble notifications
- Connect to wired and wireless networks, PCs, and other devices
Companion Web site includes:
- Code samples in Microsoft Visual C++
- Files for sample projects
Synopsis
Focusing on core operating system concepts and the Win32 API, this reference for developing small-footprint applications tells how to create applications designed for the requirements of embedded devices, with extensive code samples and sample projects. Chapters are in sections on Windows programming basics, Windows CE programming, and advanced Windows CE. The book is written for anyone who will be writing applications for Windows CE, especially embedded systems programmers using Windows CE for a specific application, Windows programmers interested in writing or porting an existing Windows application, and developers of managed code. This fourth edition is updated for the new Windows Embedded 6.0 kernel. There is also coverage of new APIs. Readers are assumed to be familiar with C and Windows. To compile the example programs in the book, readers will need Visual Studio 2005 and a Windows CE device SDK. Boling is a Windows CE consultant.
About the Author
Douglas Boling, author, trainer, and consultant, is widely recognized for his expertise in Windows CE. He speaks at leading professional developer conferences, such as VSLive! and the Microsoft Windows Embedded Developers Conference.
Table of Contents
Acknowledgments; Introduction; Just What Is Windows CE?; A Little Windows CE History; Why You Should Read This Book; What's New in the Fourth Edition; Windows CE Development Tools; Target Systems; What's on the Web Site; Other Sources; Support; Updates and Feedback; Part I: Windows Programming Basics; Chapter 1: Hello Windows CE; 1.1 What Is Different About Windows CE; 1.2 It's Still Windows Programming; 1.3 Your First Windows CE Application; 1.4 Hello2; 1.5 Anatomy of a Windows-Based Application; 1.6 HelloCE; 1.7 Running HelloCE; Chapter 2: Drawing on the Screen; 2.1 Painting Basics; 2.2 Writing Text; 2.3 Bitmaps; 2.4 Lines and Shapes; Chapter 3: Input: Keyboard, Mouse, and Touch Screen; 3.1 The Keyboard; 3.2 The Mouse and the Touch Screen; Chapter 4: Windows, Controls, and Menus; 4.1 Child Windows; 4.2 Window Management Functions; 4.3 Windows Controls; 4.4 Menus; 4.5 Resources; 4.6 The DOIView Example Program; Chapter 5: Common Controls and Windows CE; 5.1 Programming Common Controls; 5.2 The Common Controls; 5.3 Other Common Controls; 5.4 Unsupported Common Controls; Chapter 6: Dialog Boxes and Property Sheets; 6.1 Dialog Boxes; 6.2 The DlgDemo Example Program; Part II: Windows CE Programming; Chapter 7: Memory Management; 7.1 Memory Basics; 7.2 The Different Kinds of Memory Allocation; Chapter 8: Modules, Processes, and Threads; 8.1 Modules; 8.2 Processes; 8.3 Threads; 8.4 Fibers; 8.5 Thread Local Storage; 8.6 Synchronization; 8.7 Interprocess Communication; 8.8 The XTalk Example Program; 8.9 Exception Handling; Chapter 9: The Windows CE File System; 9.1 The Windows CE File System API; 9.2 Dealing with Storage; Chapter 10: The Registry; 10.1 Registry Organization; 10.2 The Registry API; Chapter 11: Windows CE Databases; 11.1 The Two Databases; Chapter 12: Notifications; 12.1 User Notifications; 12.2 Timer Event Notifications; 12.3 System Event Notifications; 12.4 The NoteDemo Example Program; 12.5 Querying Scheduled Notifications; 12.6 Bubble Notifications; Part III: Advanced Windows CE; Chapter 13: Windows CE Networking; 13.1 Windows Networking Support; 13.2 TCP/IP Programming; Chapter 14: Device-to-Device Communication; 14.1 Infrared Communication; 14.2 Bluetooth; Chapter 15: System Programming; 15.1 The Windows CE Memory Architecture; 15.2 Writing Cross-Platform Windows CE Applications; 15.3 Power Management; Chapter 16: Serial Communications; 16.1 Basic Serial Communication; 16.2 The CeChat Example Program; Chapter 17: Device Drivers and Services; 17.1 Basic Drivers; 17.2 Writing a Windows CE Stream Device Driver; 17.3 Building a Device Driver; 17.4 Services;