PRB: Checked Build Environment of WinHEC 2000 DDK

Article translations Article translations
Article ID: 263979 - View products that this article applies to.
This article was previously published under Q263979
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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):

:checked
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

Properties

Article ID: 263979 - Last Review: February 28, 2014 - Revision: 1.2
APPLIES TO
  • Microsoft Win32 Device Driver Kit for Windows 2000
Keywords: 
kbnosurvey kbarchive kbbug kbkmode kbprb KB263979

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com