How to compile a simple program.
"C:\Documents and Settings\<user>\Start Menu\Programs"
is where you can organize "start | All Programs" into
subfolders if you've installed more programs that can be
displayed by clicking that.
That is, after installing VC++ 2005 Express Beta, it didn't
place an icon on the desktop, taskbar, and didn't show up on
the "start | All programs" menus. And clicking help on it
running didn't show where it was at. Though I did find it
after reorganizing by the above and right clicking to see
the location: "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE" called "VCExpress.exe".
Now already trying to compile previous programs, the VC
2005 Express Beta compiler halted on: #include "windows.h"
And I found the slots to add library and include directories:
Solution Explorer | Properties Page | Configuration Properties
| C/C++ | . Just cut and paste directory locations from
"My Computer" explorer into the Additional Include / Library
Directories slots. Looking at the app there doesn't / didn't
appear to be slots to add default lib and include directories.
Also on this slots, there is one for adding a opengl32.lib
or whatever lib file in the "Configuration Properties |
Linker | Input | Additional Dependencies " slot as
OPENGL32.LIB.
Using a different "windows.h" from another IDE or compiler
complained of errors. Finally the solution was fixed by this
very helpful webpage.
http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx
Using Visual C++ 2005 Express Beta 2 with the Microsoft Platform SDK
which is listed first under the Visual C++ 2005 Express
Beta 2 page, but I hadn't gotten around to experimenting
if that would solve the compile problem such as where to
find "windows.h".
The above weblink describes that you install the PSDK
and how to edit some files of Visual C++ 2005. Already
known was this "My Computer | Tools | Folder Options |
View | Show Hidden Files" which might be required to
locate one file (?). Anyhow that weblink mentions how
to add default include, library, and executate / bin
to path. And a few other edits.
After getting the project mentioned in the weblink to
compile (at the end of the article), I tried to compile my
/ a simple OpenGL which did compile. It printed some
"loaded dll" messages and run.
Next ... running a DirectX program from a book. The way
I suppose to add permanently the DirectX9 SDK include,
library, bin directories is following the steps of the above
webpage.
That is this is the relevant part from the above weblink:.
Though you do have to follow carefully all the steps first,
then can add more directories (?) with Step 3 later.
=======
"Step 3. Update the the Visual C++ Directories in the Projects and Solutions section in the Options dialog box.
In that section, you'll want to add the paths to the appropriate subsection:
- Executable files - C:\Program Files\Microsoft SDK\Bin
- Include files - C:\Program Files\Microsoft SDK\include
- Library files - C:\Program Files\Microsoft SDK\lib
Note: For Beta 2, you cannot set the Visual C++ Directories in the Options dialog of Visual C++ Express Edition. To work around this issue, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express Edition install location. Please make sure that you also delete the file "vccomponents.dat" located in the "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" if it exists before restarting Visual C++ Express Edition.
===========

