by Dan Matthews
22. August 2007 15:59
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 :)
400c0358-4221-4c76-af04-57b2436b551e|0|.0
Tags:
.NET/C#