Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Found a similar post on this site, seems like I'm the only one of the planet with this specific problem...

Using Visual Studio 2008 to program apps in c++ for Windows CE 5.0. Any basic app runs in the emulator fine, but when I try to run it from the CE device I get

Unable to start program '%CSIDL_PROGRAM_FILES%\test11\test11.exe'.
The specified program requires a newer version of Windows.

I'm pretty much a beginner at Visual Studio. I've looked all over the world on Google and can't seem to find a solution. I'm running Windows XP SP3.

Thanks in advance!
Posted
Comments
Sergey Alexandrovich Kryukov 24-May-11 16:15pm    
Who knows what's in text11.exe? Only you know. So, how do you think anyone is supposed to help you?
--SA
Wild-Programmer 25-May-11 0:00am    
LOL :D exactly.
MasterWill 25-May-11 8:00am    
Sorry, I'm fairly new at this. Here's Hello2.cpp

#include "windows.h"
//
// Program entry point
//
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPWSTR lpCmdLine, int nCmdShow)
{
MessageBox (NULL, TEXT ("Hello World"), TEXT ("Hello2"), MB_OK);
return 0;
}

1 solution

Ok I reinstalled the Windows CE 5.0 Standard SDK, and it just now appears in
Visual Studio, seems to work now. I was assuming that Pocket PC 2003 was the
same thing and was attempting to run for that. So the root cause of the
problem is Microsoft's confusing naming convention.

However I still can't run from Embedded Visual C++ (SP4), I get a Platform
Builder error. I was looking on the Internet, and it appears that maybe I
have to create/install an SDK? WTF? Or something said that the machine name needs to start with a letter? I'm on a corporate network, not sure if I can change my machine name. Any insight would be greatly
appreciated.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900