谢谢!

解决方案 »

  1.   

    DDK的编译需要用Free Build Environment
    执行命令格式是?打开他,就是命令格式
    F:\NTDDK>cd F:\新建文件夹\portion\sysF:\新建文件夹\portion\sys>build -cez
    BUILD: Object root set to: ==> objfre
    BUILD: /i switch ignored
    BUILD: Compile and Link for i386
    BUILD: Compiling and linking f:\新建文件夹\portion\sys
    Compiling - genport.rc for i386
    Compiling - genport.c for i386
    Linking Executable - objfre\i386\genport.sys for i386
    BUILD: Done    2 files compiled
        1 executable built
      

  2.   

    use DDK check build enviroment 
    or you can use command line buiding in VC