I'm having no luck getting my application to run on a Windows Mobile 5.0 device, so I thought I would try to create a simple project and test it out to narrow the error.
Using the "New project" wizard, I select "Visual C++ | Smart Device | Win32 Smart Device Project". I then remove the "Pocket PC 2003" SDK and add "Windows Mobile 5.0 Pocket PC SDK". Finally, I select "Windows application" as the application type.
The test application runs on the emulator, but when I try to debug it on a Windows CE 5.0 device (Intermec CK60), I get "Unable to start '%CSIDL_PROGRAM_FILES%\TestWinCE5\TestWinCE5.exe'. The specified program requires a newer version of Windows."
I've been through the forums but haven't found anything that solves this problem. The VS2005 Dependency Walker utility confirms that my application depends only on COREDLL.DLL and AYGSHELL.DLL, both of which are obviously present on the device.
Any help would be much appreciated.

Problem debugging simple application
mark_hykurama
The CK60 is available with either MicrosoftR WindowsR CE or Microsoft Windows Mobile software for Pocket PC. Please check the version of OS, I mean whether it is Windows mobile or WinCE based device. It seems to me that the your device is based on WInCE.
Jacob Bolan
"Start/Settings/Control Panel/System" gives me:
Microsoft Windows CE
Version 5.0 (Build 1400)
GoingGreyFast
Are you sure the target device is a Windows Mobile device Take a look at the device's Setting or About screen.
Handheld device is different from Pocket PC, although both built on top of Windows CE.
---
Lao K
Visit my Blog for Windows Mobile Pocket PC Smartphone Programming Hints and Tips
Pinky Lano
New Programmer
Can you confirm that this is a WM5.0 device as it sounds like it may be an older version.
Start/Settings/System/About and the version information is a Window Mobile Version 5.0 version or later.
You may want to try building an 03 application and try running on the device as well.