Managed Code for Windows Embedded Compact 2013 involves coding in C# or Visual Basic. Unlike the desktop C++ is not an option. In the Compact/CE Embedded Windows context, a variant of the desktop .NET Framework is used which has reduced features. .NET compact Framework 3.9 is used with Compact 2013 which is essentially the 3.5 Compact Framework plus some improvements honed on Windows Phone 7. Managed Code application development whether on the desktop or in the Compact context facilitates rapid application development (RAD) as the UI is quick to develop with the Visual Designer (like Blend) and the properties/events/methods programming to UI in code behind is much simpler than native code given such tools as Intellisense, Rich Libraries etc.
In this chapter the same GetTime application is implemented in Managed Code as was developed in Native Code and XAML for Windows Embedded. Whilst it is a rather trivial exercise in this context compared to the former implementation, it is used as the basis for more complex Managed Code techniques such as Platform Invoke (calling native code from Managed Code) and Callbacks (from Native Code to Managed Code).
Topics covered in the chapter:
Activities in this chapter require:
NEXT: 17.2 Managed Code C# GetTime Application
Click here to provide feedback and input