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

WHAT NOW?

The resource file issue (the image file) is a bit messy. Also there are no shortcuts created.

The main drawback of these techniques is that you can’t debug the managed code applications like you can for native code applications for the reasons stated previously in this chapter. It would be possible to platform invoke (PInvoke) some of the debug macros or do some printf/writeLine style of debugging (write messages) through the PB Debug Window. The Compact Framework doesn’t provide any code metadata information, though. In the full .NET framework, you can get line numbers to feed into debugging macros, but this information is not available in the .NET compact framework.

There is a Codeplex community project being developed to resolve some of these integration issues with managed code in a Compact 7 OS project, including resource files, debugging macros, and shortcuts. More information is available at http://managedcode4C7.codeplex.com.

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