Today at Tech Ed in New Orleans, I gave a presentation on how to use a Silverlight for Windows Embedded (SWE) UI from a .NET Compact Framework app. SWE is available for Windows CE 6.0 R3 and Windows Embedded Compact 7, but in both cases it ships with only a native API. In this presentation, I demonstrated how you can use some relatively simple p/invoke techniques to allow you to write all your application logic using C# but control and interact with a native dll that drives a SWE UI.
You can download the app I built from the 'Attachment' link shown at the bottom of this post. For now, I present this without further explanation so that those people who came to the talk can get the code. I will update this post sometime soon with an explanation of the techniques and instructions on how to get the sample running (hint: you have to download the Windows Embedded Compact 7 CTP, install onto a system with Visual Studio 2008 SP1, use Platform Builder to cook a CE7 OS and build an SDK and boot the new OS into a virtual machine!).
Thank you to all those people who attended the talk!
*UPDATE* You can now view the video recording of this session at http://www.msteched.com/2010/NorthAmerica/WEM309, and download the slides or the WMV or MP4 recording.
Posted
Jun 10 2010, 05:04 PM
by
Andy Wigley