2011年9月3日 星期六

DDK build for VC 6.0

Tools→Options→Directories
Executable files
    "D:\WINDDK\3790.1830\BIN\X86"

Include files
    "D:\WINDDK\3790.1830\inc\wxp"
    "D:\WINDDK\3790.1830\inc\crt"
    "D:\WINDDK\3790.1830\inc\ddk\wxp"
    "D:\WINDDK\3790.1830\inc\ddk\wdm\wxp"

Library files
    "D:\WINDDK\3790.1830\LIB\WXP\I386"


Project→Setting→C/C++→Project Options
[Original]
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/ddk.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 

[Final]
/nologo /Gz /MLd /W3 /WX /Z7 /Od /D WIN32=100 /D _X86_=1 /D WINVER=0x500 /D DBG=1 /Fo"Check/" /Fd"Check/" /FD /c


Project→Setting→Link→Project Options
[Original]
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/ddk.pdb" /debug /machine:I386 /out:"Debug/ddk.exe" /pdbtype:sept

[Final]
Wdm.lib ntoskrnl.lib /nologo /base:"0x10000" /stack:0x400000,0x1000 /entry:"DriverEntry" /subsystem:console /incremental:no /pdb:"check/MyProject.pdb" /debug /machine:I386 /nodefaultlib /out:"check/MyProject.sys" /subsystem:native /driver /SECTION:INIT,D /RELEASE /IGNORE:4078 

沒有留言:

張貼留言