From: Larry Lindstrom on
Hello Folks:

Developing on XP Pro, VS 2008 Pro, C++.

Someday I hope to understand how to setup security on my XP
account's private source file folder so I can have full access to it
from my Win 7/64 account. The OSs are dual boots on the same PC.

If that ever happens, I'm going to want to be able to build
applications from either the XP or Win7 boot.

I interpret the EULA as allowing me to install VS 2008 on each OS's
partition.

The same drives may have different letters, so I'd like to be able
to use environmental variables to define paths in Tools - Options - VC++
Directories - Include files, among other places in my Project Property
Pages.

I'm starting with the folder that has all of the common headers to
utilities I've built. On my XP system, the path to this is:

D:\utilities\code\windows_files\headers

I've set up an environmental variable named UTILITIES_HEADER_PATH
with this string and can run "dir %UTILITIES_HEADER_PATH%" from the
command line, to display the headers.

Attempts to replace "D:\utilities\code\windows_files\headers" with
"%UTILITIES_HEADER_PATH%" result in builds being unable to find the
headers.

fatal error C1083: Cannot open include file:
'common_controls.h': No such file or directory

What am I doing wrong?

Thanks
Larry