I switched from the WinXPSP2 DDK to the W2003ServerSP1 DDK for driver
development, and I tried to use PREfast on the build, but it crashes
during the PREFAST LIST or VIEW with the following:
C:\WINDDK\3790.1830\bin\x86\drvfast>prefast list
Microsoft (R) PREfast Version 1.5.2402 for 80x86.
Contents of defect log:
C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
while creating PREfast.DefectDefs
while creating PREfast.DefectSet
Error 0x800a138f occurred while creating PREfast.DefectSet component:
‘documentElement’ is null or not an object
I looked at the dir where prefast keeps it’s XML data and the
“defects.xml” file is 20k of compact XML data, so I don’t think the
problem is NULL data.
Any idea where to start looking for the cause of this? In addition
to the latest DDK from the W2003ServerSP1 DDK download, I do have
other DDK versions installed on the machine for other driver dev tasks.
Perhaps multiple DDKs may be causing PREfast to crash?
TIA
Jerry Schneider