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.