Platform SDK on VC6
-
Can someone please post the lines I need to add to my INCLUDE & LIB paths to use the latest Platform SDK's with VC6? I've been trying to use the "Setup Environment" programs that comes with the SDK, to no avail. I can neither get the paths into my VC6 options-directories nor my environment. My attempts at setting these directories by hand have just left me with tons of build errors. Mostly "operator new does not take 3 parameters".
-
Can someone please post the lines I need to add to my INCLUDE & LIB paths to use the latest Platform SDK's with VC6? I've been trying to use the "Setup Environment" programs that comes with the SDK, to no avail. I can neither get the paths into my VC6 options-directories nor my environment. My attempts at setting these directories by hand have just left me with tons of build errors. Mostly "operator new does not take 3 parameters".
Ideally, you need to have the include, lib and bin paths in your options so that the PSDK ones are topmost. That lets you use the latest version of MIDL etc, although you need to be aware of the /no_robust switch for newer versions, as /robust is now the default. I have the following; "Executable files" C:\Program Files\Microsoft SDK\Bin C:\Program Files\Microsoft SDK\Bin\WinNT C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin C:\Program Files\Microsoft Visual Studio\VC98\BIN C:\Program Files\Microsoft Visual Studio\Common\TOOLS C:\Program Files\Microsoft Visual Studio\Common\TOOLS\WINNT C:\WINNT\system32 C:\WINNT C:\WINNT\system32\WBEM "Include files" C:\Program Files\Microsoft SDK\Include C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE C:\WINNT\system32 C:\Program Files\Common Files\System\Ado "Library Files" C:\Program Files\Microsoft SDK\LIB C:\Program Files\Microsoft Visual Studio\VC98\LIB C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB "Source files" C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\CRT\SRC Hope this helps. Steve S