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.

Get Professional Windows® Embedded Compact 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.