Microsoft KB Archive/263979

{|
 * width="100%"|

PRB: Checked Build Environment of WinHEC 2000 DDK

 * }

Q263979

-

The information in this article applies to:


 * Microsoft Windows 2000 Driver Development Kit (DDK)

-

SYMPTOMS
When you build the checked version of a device driver by using the WinHEC release of the Windows 2000 DDK, compiler optimizations are turned on by default. This may result in difficulties while you debug the driver.

RESOLUTION
A small change needs to be made to the %BASEDIR%\bin\Setenv.bat file to correct this problem. The changes are as follows (in bold):



rem set up an NT checked build environment

set BUILD_ALT_DIR=chk

set NTDBGFILES=1

set NTDEBUG=ntsd

set NTDEBUGTYPE=windbg

set MSC_OPTIMIZATION=/Od /Oi Additional query words:

Keywords : kbKMode kbOSWin2000 kbOSWin2000bug kbDSupport

Issue type : kbprb

Technology : kbwin2000Search kbwin2000DDK kbAudDeveloper kbWinDDKSearch