Or how i managed to use Visual C++ 6.0 with the correct settings to use Platform SDK for windows 2003 R2 for every platform without worring about paths etc... all this with even Visual Studio 2005 installed... yup, it's a mess!!!
SET MSVCDIR=D:\Develop\Microsoft Visual Studio SET Lib=%MSVCDIR%\VC98\Lib;%MSVCDIR%\VC98\MFC\Lib SET Bin=%MSVCDIR%\VC98\Bin;%MSVCDIR%\Common\MSDev98\Bin SET Include=%MSVCDIR%\VC98\Include;%MSVCDIR%\VC98\MFC\Include;%MSVCDIR%\VC98\ATL\Include SET Src=%MSVCDIR%\VC98\MFC\SRC;%MSVCDIR%\VC98\CRT\SRC;%MSVCDIR%\VC98\MFC\SRC SET Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; D:\Develop\cvsnt;D:\Develop\Microsoft Visual Studio\VC98\Bin; D:\Develop\Microsoft Visual Studio\Common\MSDev98\Bin;%Bin%;%Src% "C:\Program Files\Msdev\bin\msdev.exe" /useenv
Happy coding!