##################################################################################

##

## Instructions for building the Microsoft NGWS Debugger Test Shell (CORDBG)

##

##################################################################################

 

To build the CORDBG sample you will need to have either MSDev 6.* or a fairly recent version of the Win32 SDK installed on your system. The sample was intended to be built (via nmake) from the version of the MSVC C++ compiler that comes with MSDev 6.*. Below is the list of files included for the sample.

 

.\debugger

makefile

cordbg.mak

readme.htm

 

stdafx.h

stdafx.cpp

 

      corver.h

      cordbg.cpp

      __file__.h

cordbpriv.h

commands.cpp

 

debuggerutil.h

debuggerutil.cpp

 

shell.h

shell.cpp

 

dshell.h

dshell.cpp

 

source.cpp

 

     

Building CORDBG.

 

q       Ensure that the environment is setup to build using nmake. MSDev, for example, contains a batch file "VCVARS32.bat", which can be run to do this.

 

q       By default, the makefile assumes that the Win32 headers/libs live under

     

      WIN32_LIB_DIR= d:\progra~1\micros~1\vc98\lib

      WIN32_INC_DIR= d:\progra~1\micros~1\vc98\include

 

If necessary, change these two lines (in the makefile) to reflect where the Win32 headers/libs are on your system.

 

q       By default, the makefile assumes that the NGWS headers/libs live under

   

      NGWS_LIB_DIR= d:\progra~1\NGWSSDK\lib

      NGWS_INC_DIR= d:\progra~1\NGWSSDK\include

 

If necessary, change these two lines (in the makefile) to reflect where the NGWS headers/libs are on your system.

 

q       From the directory containing the makefile, invoke nmake to build the sample. The end result should be a debug version of CORDBG. The makefile can be modified to build a retail version if desired.

 

 

Note. Disassembly support is not supported for this sample version. Please see the "CORDBG" section in the NGWS SDK Documentation for information on starting and using CORDBG.