If you try to run a .NET Compact Framework 2.0 application on Windows Mobile 5 Smartphone (ie no touch screen), you may get an error like this:

NotSupportedException at Microsoft.AGL.Common.MISC.HandleAr()

This is because Windows Mobile 5 actually comes in two 'editions' - Smartphone and PocketPC. Whether they're actually the same codebase I don't know, but depending on your device different functionality is supported. For example - the PocketPC menus you can build in the Mobile 5 SDK don't work on Smartphones.

So if you have an app with that error, either bug the software publisher to get a Smartphone version written with the simpler menus, or go buy a PocketPC phone with touch screen.

And if you're wondering - I have an Orange SPV C600 which is only the Smartphone version of WM5 :)


Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
posted @ Wednesday, August 22, 2007 4:59 PM | in .NET/C# Techie

Comments

Gravatar
# re: Windows Mobile 5 on Smartphone
Posted by Nickolai
on 8/28/2007 9:00 AM
Hello!

Thanks for this information. I am wonder is there the same problem on WIndows Mobile 6?
Gravatar
# re: Windows Mobile 5 on Smartphone
Posted by Dan Matthews
on 8/29/2007 3:15 PM
Sorry - I've not used WM6 yet. Not sure if this has the same problems!

Am thinking about getting my mitts on the new Orange SPV which runs WM6, so I'll post here once I've played :)

Post Comment

Title *
Name *
Email
Url
Comment *  


Please add 3 and 1 and type the answer here: