Norman Diamond
2006-01-13 07:32:24 UTC
eMbedded Visual C++ 4.0 SP4, Windows Mobile 2003 Smartphone SDK.
New workspace, new Smartphone project, "Hello World" project. I did not
edit anything in it. I don't recall if I set the target to WCE emulator
(debug) or if it was already that way by default.
eVC++4 SP4 can't even compile its own Hello World project.
C:\Documents and Settings\ndiamond\My Documents\
Embedded Visual Studio Projects\TestSDK\newres.h(32) :
fatal error RC1015: cannot open include file 'winver.h'.
Here are lines 31 and 32 of newres.h:
#include "winuser.h" // extract from windows header
#include "winver.h"
So the compiler successfully read winver.h but couldn't read winver.h?
Looking in directory
C:\Program Files\Windows CE Tools\wce420\SMARTPHONE 2003\Include\Emulator
here are three of the files in alphabetical order:
winuser.h
winuserm.h
winver.h
Notepad can open winver.h just fine so I don't think any of the installers
put funny permissions on that file.
Also the reason I looked in that directory was that eVC++'s Tools -
Options - Directories panel, with Platform SMARTPHONE 2003 and CPU Win32
(WCE emulator) told me to. It looks like the default option there was
impeccable.
Momentarily I had an intuitive hunch that the English language version of
eMbedded Visual C++ 4.0 SP4 maybe couldn't cope with being installed on the
Japanese version of Windows XP SP2, but that doesn't explain how the
compiler successfully read winuser.h and only croaked on winver.h.
So what is this thing doing in order to accomplish this failure, and how can
I fix it?
New workspace, new Smartphone project, "Hello World" project. I did not
edit anything in it. I don't recall if I set the target to WCE emulator
(debug) or if it was already that way by default.
eVC++4 SP4 can't even compile its own Hello World project.
C:\Documents and Settings\ndiamond\My Documents\
Embedded Visual Studio Projects\TestSDK\newres.h(32) :
fatal error RC1015: cannot open include file 'winver.h'.
Here are lines 31 and 32 of newres.h:
#include "winuser.h" // extract from windows header
#include "winver.h"
So the compiler successfully read winver.h but couldn't read winver.h?
Looking in directory
C:\Program Files\Windows CE Tools\wce420\SMARTPHONE 2003\Include\Emulator
here are three of the files in alphabetical order:
winuser.h
winuserm.h
winver.h
Notepad can open winver.h just fine so I don't think any of the installers
put funny permissions on that file.
Also the reason I looked in that directory was that eVC++'s Tools -
Options - Directories panel, with Platform SMARTPHONE 2003 and CPU Win32
(WCE emulator) told me to. It looks like the default option there was
impeccable.
Momentarily I had an intuitive hunch that the English language version of
eMbedded Visual C++ 4.0 SP4 maybe couldn't cope with being installed on the
Japanese version of Windows XP SP2, but that doesn't explain how the
compiler successfully read winuser.h and only croaked on winver.h.
So what is this thing doing in order to accomplish this failure, and how can
I fix it?