Wednesday, December 16, 2009

How to install Windows CE

Today I needed to install a clean installation of Windows CE 6.0 R2. My problem was I was not sure what QFEs (windows CE updates) I need to install afterward. The problem is that now you primarily get information about R3.

I was getting really frustrated and was thinking of writing a detailed post with the needed QFE for each release when I found this post by Mike Hall:
http://blogs.msdn.com/mikehall/archive/2009/06/10/steps-needed-to-install-windows-embedded-ce-6-0-from-scratch.aspx



Thanks to Mike I saved at least 2 hours of digging through the net.


Hope this will make his post pop up faster in the search engines.

Tuesday, December 1, 2009

A nice resource googled

 am debugging a RIL dirver now in Windows CE. Check out this short table of error codes for the GSM:
CME Error codes

Thursday, November 5, 2009

Google does not find the Embedded Silverlight documentation

I don't why Microsoft does this, but unitl this moment doing the following search only leads to Valter's blog. On Bing you do get to the MSDN documentation...

By the way here is the link to the documentation: http://msdn.microsoft.com/en-us/library/ee502198.aspx


Weird and hurts only the developers.

UPDATE:
apparently it just took Google some time to crawl it. Now the documentation is available on Google as well.

Sunday, November 1, 2009

What I hate most about Platform Builder

This list of things will be updated from time to time:
  1. When you open a new OSDesign and run Sysgen only to find out that the default settings are for Debug and now you need to wait another 20 minures while Sysgening the Release build.
  2. When Platform Builder hits a DEBUGCHK in Debug mode it automatically opens the assembly window.
  3. ...

Thursday, October 29, 2009

Embedded Silverlight For Windows CE 6.0





Today I gave a (too) quick answer in the newsgroups regarding the development of a Silverlight application for Windows CE 6.0. It seems that you do not need Platform Builder to develop Silverlight Applications. Makes sense....
I took the time to see whether it was possible to work with VS2005 (I presume VS2008 will have the same results) alone and was successful. So here is a short tutorial on how to do this:
  • Open a new SmartDevice Win32 project:


  • Choose an SDK that was produced with R3and Silverlight

Then press Finish.

  • Open the RC viewer and delete everything (except for the icon maybe) that you do not need.
  • Go to the project properties (right click on the project node).
  • Choose all configurations.
  • Go to linker-> input. In the Additional Dependencies field enter: xamlruntime.lib
  • Go to the main file of the project and use the code described in Valter Minute's blog (Silverlight Tutorial). For convenience, My code is at this link along with the XAML file for my project.
  • Now all that is left to do is to add the XAML file to the resources in the same way Valter describes in his blog.
  • Open the RC viewer. Right click on it and choose "Add Resource".
  • Now choose "Import". Choose the XAML file and in the resource name type "XAML".
  • I am not including screenshots because this is covered in Valter's blog.
  • To build you will need to make sure that the "pwinuser.h" file is included in your SDK. When I produced my SDK this file was not included automatically.
  • This is it. You can Build and run your project.
I'll organize this post later and maybe include the project. For the mean time, here is the link to the Expression project (includes the XAML) and the cpp file.

Shai

PS
This is my first post, if you find it not organized or missing crucial information, drop a comment and I will try to improve it.