Setting up a Windows Mobile Development environment for HTC Touch Diamond development

Just this week I bought a new mobile phone. Of course it's a Windows Mobile powered mobile phone, a HTC Touch Diamond. I thought: "What about some .NET Compact Framework 3.5 development". So I started setting up a Windows Mobile Development VPC.

I started with the following:

  • Windows Server 2008
  • Visual Studio 2008 (with Smart Device extensions installed)

After this I wanted to be able to develop for Windows Mobile 6.x so I needed more, much more.

Installing Windows Mobile 6 wasn't really easy. I needed a pre-requisite, Windows Mobile Device Center. But sadly trying to install this I got a very informative message: "The update could not be installed because at least one Windows component required by Windows Mobile Device Center is missing". So which component? After some Googling I found out it was the "Desktop Experience" feature that needed to be installed on Windows Server 2008. So it took me some time, but in the end I got the SDK running.

Next step would be getting the networking available from the emulator. This looked easy, but I got a strange message: "Failed to open the VPC Network Driver. Verify that the driver is installed...". So some more Googling. The solution lies in using the Windows Mobile Device Center for sharing the connection. This article explains everything (in the old days we would have used ActiveSync as mentioned in the article).

In the end I got my blog loaded in Internet Explorer on the Emulator.