I'm having a great deal of difficulty getting the Windows Server 2003 DDK to
install correctly. I'd like to know if I'm doing something wrong and be set
straight.
(1) Attempting to build the samples in the kit fails, i.e., several of the
samples fail with [relatively minor] errors:
bin\x86\prefast\examples\pft-example2.cpp(17) : error C4700: local variable
'a' used without having been initialized
bin\x86\prefast\examples\pft-example1.cpp(14) : error C4700: local variable
'j' used without having been initialized
Granted, these are trivial but the docs say that the kit should build with
no warnings or errors. Hence, my uncertainty as to the quality of the
distribution.
(2) The setenv.bat file, on line #254, sets an environment variable as
follows:
set _LINK_=/Tmp
This causes the linker to fail because the file "/Tmp" can not be found.
What is the _LINK_ symbol used for? This symbol occurs nowhere else in any
makefile. *.def, or sources file. As far as I can tell, it's only purpose is
to make my life difficult [:-)
(3) Finally, when trying to link a simple user-mode application, the linker
fails with a LNK4099 message:
warning LNK4099: PDB 'mfcs42d.pdb' was not found with
'C:\local\sde\lib\winddk\3790\lib\wxp\i386\mfcs42d .lib'
However, mfcs42d.pdb is nowhere in the DDK tree and nowhere on my system.
Can someone help my out here? My dev and target platform are XP-Pro.
Cheers,
Michael