MS VC 1.51 debugging

0 Likes

Problem:

While using MSVC1.51, I can't trace my driver with it's source code. Which compile and link option should I use to trace source code ?

Resolution:

This is how the compiler and linker switches should be set:

Compiler:

CFLAGS_D_WEXE = /nologo /G2 /W3 /Zi /AM /Od /D "_DEBUG" /FR /GA /Fd"CHKBOOK.PDB"

Linker:

LFLAGS_D_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:10240 /ALIGN:16 /ONERROR:NOEXE /CO

This generates CHKBOOK.EXE (a sample program from MSVC1.52) that can be translated by Symbol Loader.

Old KB# 12122
Comment List
Anonymous
Related Discussions
Recommended