1. _MSC_VER too low
Well, the DDK version is too high, switch to VS 03.
MS VC++ 9.0 _MSC_VER = 1500
MS VC++ 8.0 _MSC_VER = 1400
MS VC++ 7.1 _MSC_VER = 1310
MS VC++ 7.0 _MSC_VER = 1300
MS VC++ 6.0 _MSC_VER = 1200
MS VC++ 5.0 _MSC_VER = 1100
2. error in option subsystem:n
subsystem:n is elligal, just fix it at properties – linker –command line /subsystem:native. Ps, the two other parameters are windows and console. which indicate the enter point functions winmain and main.
3. unresolved external symbol @__security_check_cookie@
Well, we don’t need the security feature. Just close it (/gs) at properties – c/c++ – code generation – buffer security check
4. Project : error PRJ0019
the command path is error. Fix it at properties – build events – build-Post build event – command line
5. error info:
Error translating xx.sys: Matching PDB file not found.
PROMPT=OFF
SoftICE is not active
Error translating C:/cos/pcscV6/pcsc/pcsc 驱动/objchk/i386/pcsc.sys: Matching PDB file not found.
Error executing d:/windows/system32/cmd.exe
Well, start the SoftICE, the error is still. How could the cmd.exe can’t be found? Well, remove the Chinese charactors in folder, then it works