Professional Microsoft Windows Embedded CE 6.0 (Wrox
Total Page:16
File Type:pdf, Size:1020Kb
spine=.96" Wrox Programmer to ProgrammerTM Wrox Programmer to ProgrammerTM Professional Phung Microsoft ® Windows ® Embedded CE 6.0 With its support for multiple processor architectures, Windows Professional Embedded CE can be adapted to a variety of devices, including Windows Microsoft Smartphones, PocketPCs, digital cameras, DVRs, VoIP, network routers, wireless projectors, robotics, data acquisition, human-machine interfaces, and more. Packed with straightforward exercises and helpful examples, this book is aimed at demonstrating how to perform various development tasks in the Windows Embedded CE 6.0 environment. You’ll quickly come to view Windows Embedded CE 6.0 as an ideal operating system for developing a new generation of intelligent, multimedia, connected, and service-oriented embedded devices. Author and Embedded CE expert Samuel Phung encourages you to ® develop Windows Embedded CE 6.0 applications by adapting the skills you already have. You’ll learn to produce a new breed of intriguing embedded devices and you’ll come to understand ways in which the ® Embedded CE 6.0 CE Embedded Windows Embedded CE environment is efficient, developer-friendly, and easy to master. What you will learn from this book ● How to build a customized CE 6.0 runtime image Enhance Your Knowledge ● Various forms of debugging and the array of debugging tools Advance Your Career ● Ways to develop managed-code and native-code applications for Professional Windows Embedded CE using Visual Studio ● Techniques for deploying a Windows Embedded CE 6.0 device with BIOS Loader ● Methods available to autolaunch an application when CE starts ® ● How to create thin-client applications using the provided design templates Microsoft ● Ways to customize the user interface when CE starts and replace the standard Explorer shell Who this book is for ® This book is for developers who are interested in learning what resources are available as part of the Windows Embedded CE tool chains and how to use them. A basic understanding of Visual C++, C#, or Visual Basic is helpful. Windows Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They subtitle provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job. Embedded CE 6.0 www.wrox.com Recommended Programming ISBN: 978-0-470-37733-8 Computer Book Categories Software Development Samuel Phung $59.99 USA $65.99 CAN Updates, source code, and Wrox technical support at www.wrox.com spine=.96" Professional Programmer to Programmer™ Microsoft ® Windows ® Embedded CE 6.0 Professional Microsoft Windows Embedded CE 6.0 978-0-470-37733-8 Get more out of Provides the much needed information resources to help developers save time and gain critical knowledge quickly to take advantage of the Rapid-Application-Development environment provided by Windows Embedded CE. This book reveals how different pieces of Windows Embedded CE components come together to help programmers WROX.com develop and build devices. Professional C# 2008 978-0-470-19137-8 Updated for .NET 3.5 and Visual Studio® 2008, this book is the ultimate guide to C# 2008 and its environment. The team of superlative authors explains why the C# language cannot be viewed Interact Chapters on Demand in isolation, but rather must be considered in parallel with the .NET Framework. Take an active role online by participating in Purchase individual book chapters in pdf our P2P forums format Professional Visual Basic 2008 978-0-470-19136-1 This book shows developers exactly how to build everything from traditional console applications, ASP.NET applications, and XML Web Wrox Online Library Join the Community Services. Along with these various applications, this book deals with Enhance Your Knowledge the issues of security, data access (ADO.NET), and the latest Visual Hundreds of our books are available online Sign up for our free monthly newsletter at Studio .NET IDE, as well as introducing developers to the new .NET 3.5 through Books24x7.com newsletter.wrox.com Advance Your Career Framework. Professional C++ 978-0-764-57484-9 Wrox Blox Browse Discover how to write cross-language and cross-platform code, how Download short informational pieces and Ready for more Wrox? We have books and to perform unit testing and regression testing, and how to use the standard C++ library and arm yourself with a wealth of reusable coding code to keep you up to date and out of e-books available on .NET, SQL Server, Java, patterns that can be applied to all your projects. trouble! XML, Visual Basic, C#/ C++, and much more! Contact Us. We always like to get feedback from our readers. Have a book idea? Need community support? Let us know by e-mailing [email protected] Professional Windows® Embedded CE 6.0 Introduction ................................................................................................ xxi Chapter 1: Windows Embedded CE ..................................................................1 Chapter 2: Development Environment and Tools .............................................15 Chapter 3: Board Support Package ...............................................................39 Chapter 4: Building a Customized CE 6.0 Runtime Image ...............................61 Chapter 5: Connecting to Target Device ........................................................85 Chapter 6: Debugging and Debugging Tools .................................................113 Chapter 7: Boot Loader Overview ................................................................149 Chapter 8: The Registry ..............................................................................163 Chapter 9: Testing with CETK .....................................................................177 Chapter 10: Application Development .........................................................197 Chapter 11: Visual C# 2005 Applications ....................................................207 Chapter 12: VB 2005 Applications ..............................................................223 Chapter 13: Native-Code Applications .........................................................251 Chapter 14: Autolaunch Applications ..........................................................273 Chapter 15: Customizing the UI ..................................................................291 Chapter 16: Thin-Client Applications ...........................................................307 Chapter 17: Home Automation Applications ................................................327 Chapter 18: RFID Security Access Control Applications ...............................361 Chapter 19: Robotic Applications ................................................................371 Chapter 20: Deploying a CE 6.0 Device .......................................................397 Appendix A: Windows Embedded CE References ..........................................417 Appendix B: Installation and Software .........................................................423 Appendix C: Sample Applications and OS Design Projects ............................427 Index .........................................................................................................435 ffirs.indd i 9/26/08 5:37:44 PM ffirs.indd ii 9/26/08 5:37:45 PM Professional Windows® Embedded CE 6.0 ffirs.indd iii 9/26/08 5:37:45 PM ffirs.indd iv 9/26/08 5:37:45 PM Professional Windows® Embedded CE 6.0 Samuel Phung Wiley Publishing, Inc. ffirs.indd v 9/26/08 5:37:45 PM Professional Windows® Embedded CE 6.0 Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-37733-8 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 Library of Congress Cataloging-in-Publication Data Phung, Samuel, 1960- Professional Windows embedded CE 6.0 / Samuel Phung. p. cm. Includes index. ISBN 978-0-470-37733-8 (paper/website) 1. Embedded computer systems—Programming. 2. Real-time data processing. 3. Microsoft Windows (Computer file) I. Title. TK7895.E42P49 2008 005.26—dc22 2008037338 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every