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

NATIVE CODE

A refresh: now we will recap some aspects of native code development in Platform Builder.

Native code can be a user mode application, a user mode application library (DLL), or a driver (user mode or kernel mode). A native code module is added to a Compact 7 OS project by adding the module’s subproject to the OS project. Existing projects are added by browsing to the subproject folder and selecting its source file. New projects are added via Platform builder templates or third-party wizards such as CEDriverWiz (Chapter 35, “The Target System”) and CEComponentWiz (Chapter 44, “FTDI Devices”). A subproject contains parameter files (.bib, .dat, .db, and .reg) used in integrating the project into the Compact 7 OS project and two project files (the sources and .pbxml). If source code is to be built, then the project can contain one or more source files and optionally one or more header files. Content resources such as media files and configuration files may also be optionally added to the subproject. When the OS is built, subprojects can be configured to be built (or not built), and included (or not included) in the image. They can also be configured to be built in Debug mode (or not) (See Chapter 34). When subprojects are built, the built components are placed in the OS project’s release directory (sometimes called The FlatRelease directory). These components include the parameter files for the subproject as well as the built module and resource files. If the subproject ...

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