September 2005 - Posts

Turning iPaq Wireless On/Off

Disclaimer: I've only tested this on the iPaq 5450 with PocketPC 2003. It should work for most other models, but I can not know for sure.

I've been looking for a way to turn my iPaq's wireless adapter on and off in managed code.

The first choice was to PInoke the 'SetDevicePower' function with the ID of my adapter, (the ID is found in the registry).


The other (Slightly more simpler) is to use the  'iPAQSetWLANRadio' function in the iPaqUtil.dll. This isn't useful if you want to deploy to other kinds of devices though.

Windows Vista versions

Found a nice roundup of the different versions of Windows Vista:

http://www.winsupersite.com/showcase/winvista_editions.asp

My inital impression is why so many versions? This list doesn't even include servers products, and I feel that testing a new peice of software on all is going to be long and arduous.

OK, there is a legal requirement for the Windows -N editions, but the others?  Maybe I just prefered one 'solid' platform like Windows 2000 Professional. :)

System.Messaging (MSMQ) in Compact Framework 2.0

I've been looking at Mark Ihimoyan's excellent MSMQ for Compact Framework 2.0 posts from last year, and discovered a couple of things which may help people get started.

1. First, ensure that your device has a name other than 'pocketpc'. The msmq admin tool will need this as part of its GUID generation. The tool will not indicate this to you that this is the case unless you issue a 'verify' command.

2. Although the article says it is not needed, I had to reboot my iPaq ( running PPC 2003 ) in order to get the msmq service started.

I hope to write a few more things about MSMQ as I get further into it!