I'm using the following compiler with the most recent Windows SDK:
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: VC Express
Microsoft Visual C++ 2005 76542-000-0000011-00125
Microsoft Visual C++ 2005
Now, I'm trying to compile a program and I keep getting strange errors. Google is not helping me solve this problem and neither can the developer of the code (written for a previous version...v7):
1>------ Build started: Project: Notepad2, Configuration: Release Win32 ------
1>Compiling resources...
1>.\Notepad2.rc(13) : fatal error RC1015: cannot open include file 'afxres.h'.
and the build log says something like this:
Command Lines Creating command line "rc.exe /d "_VC80_UPGRADE=0x0700" /fo"Release/Notepad2.res" .\Notepad2.rc"
Output Window Compiling resources...
.\Notepad2.rc(13) : fatal error RC1015: cannot open include file 'afxres.h'.
Notepad2 : warning PRJ0041 : Cannot find missing dependency 'afxres.h' for file 'Notepad2.rc'. Your project may still build, but may continue to appear out of date until this file is found.
Now, the file that is missing is actually in the paths so I'm very confused. Does anyone know how to fix this?
The path for my INclude is very short:
C:\MS_PSDK\Include
Any help would be greately appreciated!
IF anyone is interested in this program, it is called Notepad2 and is openly available.
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: VC Express
Microsoft Visual C++ 2005 76542-000-0000011-00125
Microsoft Visual C++ 2005
Now, I'm trying to compile a program and I keep getting strange errors. Google is not helping me solve this problem and neither can the developer of the code (written for a previous version...v7):
1>------ Build started: Project: Notepad2, Configuration: Release Win32 ------
1>Compiling resources...
1>.\Notepad2.rc(13) : fatal error RC1015: cannot open include file 'afxres.h'.
and the build log says something like this:
Command Lines Creating command line "rc.exe /d "_VC80_UPGRADE=0x0700" /fo"Release/Notepad2.res" .\Notepad2.rc"
Output Window Compiling resources...
.\Notepad2.rc(13) : fatal error RC1015: cannot open include file 'afxres.h'.
Notepad2 : warning PRJ0041 : Cannot find missing dependency 'afxres.h' for file 'Notepad2.rc'. Your project may still build, but may continue to appear out of date until this file is found.
Now, the file that is missing is actually in the paths so I'm very confused. Does anyone know how to fix this?
The path for my INclude is very short:
C:\MS_PSDK\Include
Any help would be greately appreciated!
IF anyone is interested in this program, it is called Notepad2 and is openly available.