Hello there,
i have recently installed the WINDDK\3790 and i have some problems and
some questions.
Questions:
- Where are \libchk and \libfre ? I mean that after installation the
DDK directory has only one subdirectory named \lib. - Should i install an older DDK before this one?
Problems:
I cannot force the compiler to include debug information inside the
image. The pdb that is made is too small and is obvious that
there is something wrong with the debug information.
When i try to use nmsym it fails reporting that no debug information are
included in the image file.
i include my source file. Thanks.
TARGETNAME=atm4plus
TARGETTYPE=DRIVER
TARGETPATH=obj
DRIVERTYPE=WDM
TARGETLIBS=\
$(DDK_LIB_PATH)\int64.lib \
$(DDK_LIB_PATH)\wdm.lib \
$(DDK_LIB_PATH)\hal.lib \
$(DDK_LIB_PATH)\ntoskrnl.lib
C_DEFINES= /DONLYONCE=extern\
/Dnologo\
/DUNICODE\
/D_UNICODE
DEBUG=1
NTDEBUGTYPE=both
USE_PDB=0
MSC_WARNING_LEVEL=/WX /W3
I386_WARNING_LEVEL=/WX /W3
MSC_OPTIMIZATION=/Od
BROWSER_INFO=1
BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n
LINKER_FLAGS= -base:“0x10000” -map -entry:“DriverEntry” -debug:full
SOURCES=\
atm4plus.cpp\
mydbgprint.cpp\
unicode.cpp\
eventlog.cpp\
dispatchPNPhandling.cpp\
dispatchio.cpp\
isrhandling.cpp\
memoryaccessfunctions.cpp\
channelhandling.cpp\
isrhandling.cpp
INCLUDES=\
c:\includes; \
$(DDKPATH)\inc\ddk\w2k; \
$(DDKPATH)\inc; \
$(MSTOOLS)\include;