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

MANAGED CODE APPLICATIONS AND WINDOWS EMBEDDED COMPACT 7

A managed code application for a Windows Embedded Compact 7 system requires the .NET Compact Framework. The framework version 3.5 is available as a Catalog component. There is the standard version of this in the Catalog as well as a headless version. Managed code needs to be written in C# or VB. The Compact Framework does not support managed C++. When a managed code application is compiled, a Microsoft Intermediate Language (MSIL) file is created, not a binary executable or DLL. This code is CPU-independent. That is why a Compact Framework project can run on a variety of Compact 7/CE platforms and CPUs without rebuilding. The OS just needs the required version of the framework.

To create a managed code project in Visual Studio, you choose a Smart Device project, Windows CE Target Platform, and .NET CF Version 3.5 (can be version 2.0 as well), and then choose a template.

To develop the application you need two instances of Visual Studio: One for the OS and one for the managed code. The OS needs the Corecon component for Compact 7 (http://corecon4ce.codeplex.com). You then run the OS, run the two Corecon components (ConmanClient2 followed by CMAccept) on the target, build the application on the second instance, configure Options/DeviceTools/Devices for Platform Builder, connect to the device from this instance, deploy the application, test it. . .

It should be simpler than that and it can be!

Besides this “traditional” manner ...

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