Click to See Complete Forum and Search --> : Visual Studio, Environment vars in path?
KingTermite
February 25th, 2003, 12:47 PM
I'm trying to use environment variables for portions of paths in the project settings. Is this possible, and can anyone give an example?
I'm trying something like this in the include paths:
..\..\include,$(HI_REUSE_DIR)\include
with HI_REUSE_DIR being set as an evironment variable, but it doesn't seem to be working.
Can anyone give an example...I'm sure its got to be possible.
Mick
February 25th, 2003, 02:26 PM
Don't know what the problem is, but I use what's pasted below for a couple of my projects...The env var DDKPATH is set as a system var, not that, that should matter.
..\result_debug,$(DDKPath)\inc\ddk,$(DDKPath)\inc
KingTermite
February 25th, 2003, 02:52 PM
Thanks for the reply. It turned out that the path use shown above was good, something else was the problem.
This is going to greatly reduce some our problems when transitioning from lab computers to desk computers that have different drive letters.
satheeshnl
February 25th, 2003, 04:11 PM
could be the environment variable is not set.
open a command prompt and type set and see if HI_REUSE_DIR is there.
-satheeshnl.
KingTermite
February 26th, 2003, 08:04 AM
Originally posted by satheeshnl
could be the environment variable is not set.
open a command prompt and type set and see if HI_REUSE_DIR is there.
-satheeshnl. I got it going already. Thanks. The environemnt var was set, but there was just a file that was missing in that dir that should have been there, so I thought it wasn't finding the dir.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.