I think I have found this issue in the known issues doc for VC++ Express.
Issue:Cannot set VC++ Directories in the Options dialog of Visual C++ Express Edition
Details:The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI.
Workaround: C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install location in a text editor, saving the changes and restarting the Visual C++ Express Edition.
I think that this problem (and others) occur only if you start an older Version of Visual C++/Visual Studio. After installing VC 2005 it worked. After starting Visual Studio 2003 it is not possilbe to set the directories any more and VC 2005 adopted the keyboard settings from 2003.
Still doesn't work here. When I right click on an include and try to 'open document' it pops up saying it can't find the file and lists all the include folders I used for Beta 1 (which i correctly uninstalled).
c:\documents and settings\randall j hoogerhyde\my documents\visual studio projects\customui\common\dxstdafx.h(24) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Randall J Hoogerhyde\My Documents\Visual Studio Projects\CustomUI\Debug\BuildLog.htm"
In fact, without sounding too harsh it is a bit of a joke really. Didnt anyone try to follow the install instructions before everything was released This is seems to be another incident in a long line - the stereotype is holding true once again.
Doesn't work here either. For some odd reason, it's still trying to use the directories I used in Beta 1. I deleted Beta 1 correctly as per the instructions. I even searched the registry and it doesn't appear anywhere in there. I guess Beta 2 is trying to load a config file in the system folder made by Beta 1.
Followed all the instructions in the posts from a fresh download and install -- never had any other VC or VStudio products on this machine.
Added the following line to a C++ base project:
// TODO: reference additional headers your program requires here
#include <windows.h>
And still got the following error:
d:\home\lkyrala\mydocuments\visual studio 2005\projects\test\test\stdafx.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory Build log was saved at "file://d:\home\lkyrala\MyDocuments\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm" test - 1 error(s), 0 warning(s)
Is there another path that needs to be set somewhere other than the previously mentioned files I ran C++ Express before making those changes -- is it possible that it is caching the default settings in some registry or temp file location and that this needs to be cleared first
There is yet another problem I found and it is that MS seems to have forgotten to include the template to generate Win32 Applications. So, when you are trying to finish up with step 6 in the instructions above, you will see that you don't really have the option to click Win32 as it is suggested.
To test that things work, you could create a Win32 project in previous version of VS and convert it into this new VS 8 beta 2. I am sure you could do a search on google to get a small sample application with source code and project files.
I am really hoping that MS comes out with something soon to resolve the whole directory stuff as well as the Win32 missing template.
SOS:VC2005 B2 Express VC++ Directories Problem
powerlau
Issue: Cannot set VC++ Directories in the Options dialog of Visual C++ Express Edition
Details: The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI.
Workaround: C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install location in a text editor, saving the changes and restarting the Visual C++ Express Edition.
http://lab.msdn.microsoft.com/express/readme/ExpressKnownIssues.rtf
Bret Grinslade
VS /. NET Framework Setup PM
lnessling
I think that this problem (and others) occur only if you start an older Version of Visual C++/Visual Studio. After installing VC 2005 it worked. After starting Visual Studio 2003 it is not possilbe to set the directories any more and VC 2005 adopted the keyboard settings from 2003.
HTH,
Christian
UltimateKylie
0tak0n
again
Coxy
Or is it just the way C++ express works (Limitations )
I really hope its not...
cheers,
Paul June A. Domag
Pawel Olszewski
HarryMangurian
------ Build started: Project: CustomUI, Configuration: Debug Win32 ------
Compiling...
dxstdafx.cpp
c:\documents and settings\randall j hoogerhyde\my documents\visual studio projects\customui\common\dxstdafx.h(24) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Randall J Hoogerhyde\My Documents\Visual Studio Projects\CustomUI\Debug\BuildLog.htm"
CustomUI - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I searched my entire C: drive and the file windows.h does not exist! Where do I get the file windows.h to build the DirectX 9 samples
Thanks,
Randy
sangminny
Come on people, lets have a fix or an update.
Kiwidude
this work around does not seem to work
Wezlie
Mohan Bisht
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=7b53636c-8de4-4c00-b15c-eacf00be8754
Hint: You can actually select multple projects and change the properties, but only if all of them they the same property
cassiopia
Added the following line to a C++ base project:
// TODO: reference additional headers your program requires here
#include <windows.h>And still got the following error:
d:\home\lkyrala\mydocuments\visual studio 2005\projects\test\test\stdafx.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://d:\home\lkyrala\MyDocuments\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm"
test - 1 error(s), 0 warning(s)
Is there another path that needs to be set somewhere other than the previously mentioned files I ran C++ Express before making those changes -- is it possible that it is caching the default settings in some registry or temp file location and that this needs to be cleared first
Thanks!
Insolence
Thanks Miguel.
I hope it is sorted as well. A little slack in my opinion.
twinfire
The instructions in URL: http://lab.msdn.microsoft.com/express/readme/ExpressKnownIssues.rtf
to change the VCProjectEngine.dll.express.config found in \vc\vcpackages are fine to do. Below is what mine looks like:
Include="C:\Program Files\PlatformSDK\Include;$(VCInstallDir)include;$(VCInstallDir)PlatformSDK\i........"
Library="C:\Program Files\PlatformSDK\Lib;$(VCInstallDir)lib;$(VCInstallDir)PlatformSDK\lib;$(Fr......."
Path="C:\Program Files\PlatformSDK\Bin;$(VCInstallDir)bin;$(V"
Granted that you will need to place your installation directory if it does not match mine.
This is only a work around to accomplish step 4 in the instructions found in http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx. But you still need to finish up step 5 to fully get the Win32 working.
There is yet another problem I found and it is that MS seems to have forgotten to include the template to generate Win32 Applications. So, when you are trying to finish up with step 6 in the instructions above, you will see that you don't really have the option to click Win32 as it is suggested.
To test that things work, you could create a Win32 project in previous version of VS and convert it into this new VS 8 beta 2. I am sure you could do a search on google to get a small sample application with source code and project files.
I am really hoping that MS comes out with something soon to resolve the whole directory stuff as well as the Win32 missing template.
Cheers,
Miguel