RE: NT4 DDK and November 2001 Platform SDK don't work tog ether...

The expected version is following: “Microsoft Win32 SDK for Microsoft
Windows, August, 1996”.

The workaround is to comment out these two lines because you probably don’t
need them at all. If you have installed VC6 or Platform SDK and allowed to
write settings to registry (bad idea but often used), env. variables are
already set. If they aren’t and something doesn’t work, simply call
appropriate setenv.bat before NT4 DDK one. I guess it wanted SDK headers and
libs because they were newer that VC 4.2 files. Obsolete reason now.

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From:
xxxxx@powerquest.com[SMTP:xxxxx@powerquest.com]
Reply To: xxxxx@lists.osr.com
Sent: Wednesday, September 11, 2002 4:01 AM
To: xxxxx@lists.osr.com
Subject: [ntdev] NT4 DDK and November 2001 Platform SDK don’t work
together…

Which version of the Platform SDK should you install in order for the NT4
DDK to be happy. I’ve installed the November 2001 Platform SDK and it’s
obvious that the NT4 DDK won’t work with it. A look at the NT4 DDK’s
setenv.bat file shows that it calls the SDK’s setenv.bat like so:

rem This will put the SDK headers & libs first in the search path.
if “%MSTOOLS%”==“” goto no_mstools
call %MSTOOLS%\setenv %MSTOOLS%

However, the November 2001 Platform SDK’s setenv.bat file doesn’t take a
directory as a parameter and complains when it is called with the above.
Here’s its complaint (it just tells you the PROPER way to call it and then
exits):

Attempting to detect a Visual Studio 6 installation

Setting environment for using Microsoft Visual C++ tools.

“Usage Setenv [/2000 | /me | /XP32 | /XP64 | /pre32 | /pre64] [/DEBUG |
/RETAIL]”

/2000 (default) - target Windows 2000 and IE 5.0
/me - target Windows Millennium
/pre32 - target all 32bit pre-release content
/pre64 - target Windows 64bit pre-release content not
available on 9x or Me platforms
/DEBUG - set the environment to DEBUG
/RETAIL - set the environment to RETAIL

So… the question is, which version of the Platform SDK DOES work with
the NT4 DDK? Or, is there a workaround to this?

Oh, by the way, I had to define MSTOOLS myself, as the November 2001
Platform SDK Setup didn’t define it. I also ran into the “spaces in the
directory name” problem and ended up installing the platform SDK in
C:\SDK\ rather than C:\Program Files\Microsoft SDK\

Nate


You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to %%email.unsub%%