You may be asking yourself why I would post about vs6 when Visual Studio 2008 is the "latest and greatest" version of the Studio line from Microsoft. The answer is simple: It is client mandated. You guessed it, I am working with a client that does not feel the compulsive need to upgrade that I do. Their complicated code base is all set to compile in a VC++ project in Visual Studio 6.
The problem is that information on what is actually needed to compile the project is all over the place. Most irritating is the fact that there are MANY Include Directories and Library Directories that must be in place.
You know what directories I am talking about. They are the ones found at:
Tools->Options->Directories(tab)->"Show Directories for:"->"Include Files"
and
Tools->Options->Directories(tab)->"Show Directories for:"->"Library Files"
In order for this huge, complicated, 3rd party cluttered code base to compile, custom entries must be in these sections in a particular order. (Dinkumware template variations, etc.).
Now it comes time to get a new developer up to speed and compiling, or even this same 'ole developer compiling on a different (Virtual :D) Machine.
Do I REALLY want to retype 25 directory paths...Manually...One by one...correctly...into the options UI?
NO!
So instead I did a little registry spelunking and dug out the path at which these items live. Hoorah! The items we care about live at:
"HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Build System\Components\Platforms\Win32 (x86)\Directories"
Using regedit, we export the keys to a .reg file on the existing configured machine, copy this file to the new machine, tweak any path variations we might care about, and load it back up.
I now take a moment to relish the obscurity of this post.
But then, maybe, someone else out there wants this information. This blip is for you.