-
-
[求助]驱动程序开发环境,环境变量的设置问题
-
发表于:
2008-4-29 05:15
7246
-
【文章标题】: 驱动程序开发环境的设置(vc6.0+ddkbild+server 2003)
【文章作者】: chinatme
【作者邮箱】: chinatme@gmail.com
【作者QQ号】: 723747753
【作者声明】: 只是感兴趣,没有其他目的。失误之处敬请诸位大侠赐教!
--------------------------------------------------------------------------------
【详细过程】
可能有很多兄弟想做驱动方面的开发但是又无从下手,我也是刚入门,找东西真是太郁闷了,找了半天才有现在的这一点点
小小的成果.写下来给和我一样的刚入门的兄弟们做个参考吧
具体步骤如下:
1.首先当然是要去Microsoft去下它的开发环境了:
这个是下载地址:http://www.microsoft.com/whdc/devtools/ddk/default.mspx
2.安装完成以后要设置环境变量:
我用的是2k3所以环境变量设置成WNETBASE
其它的系统依次为:win2000 W2KBASE
winxp XPBASE
它们的路径当然是ddk环境的主目录了winddk如果这个设置不正确编译器就会报错.
例如我的机器主目录是:c:\winddk则我的环境变量就设置成了c:\winddk
3.把ddkbuild.bat复制到vc的bin目录下
ddkbuild的下载地址为
http://www.osronline.com/article.cfm?article=43
这里有详细的英文ddkbuild.bat英文说明
http://www.hollistech.com/Resources/ddkbuild/ddkbuild.htm
4.设置vc工程
在工程的设置项里:
bulid commandline:ddkbuild -WNET checked .
rebuild all options:-cZ
5.进行工程编译
我在win2003下进行了测试没有问题
其中 2.安装完成以后要设置环境变量:
这个怎么设置的? 问题比较笨,不过我真不知道,郁闷。研究了一天,晕
[课程]FART 脱壳王!加量不加价!FART作者讲授!