O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17

Visual Studio Native Code Application Example

WHAT’S IN THIS CHAPTER?

  • Developing a native smart device application for a Compact 7 device
  • Debugging a native smart device application on a Compact 7 device

A Windows Embedded Compact application in native code is preferred when performance is important, especially for an application that requires real-time behavior. From the VS2008 IDE, you can develop a native code application for a Compact 7 device using an Active Template Library (ATL), a Microsoft Foundation Class (MFC), or a Win32 library.

A native code binary executable is compiled with CPU instructions specific to the designated processor and cannot execute on a different type of processor. A native application compiled to run on an ARM processor-based device cannot run on an x86 processor-based device.

This chapter works through the exercises showing the steps to develop a Win32 native code application for Compact 7 using Visual C++ from the Visual Studio 2008 IDE and deploys the application to a Compact 7 target device for testing and debugging.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required