| 
					阅读:1683回复:6
				 怎么设置我的virsual studio 来开发驱动?
					我现在只能用2000DDK和visual studio开发驱动,可是我不知如何设置visual studio 来激活build,请大侠们帮帮忙				 | |
| 沙发#发布于:2002-07-04 17:23 
					install driver studio,就可以了。				 | |
| 板凳#发布于:2002-07-05 12:31 
					1\\给出Chris Cant的批处理例程
 MakeDrv.bat @echo off if \"%1\"==\"\" goto usage if \"%3\"==\"\" goto usage if not exist %1\\bin\\setenv.bat goto usage call %1\\bin\\setenv %1 %4 %2 cd %3 build -b -w %5 %6 %7 %8 %9 goto exit :usage echo usage MakeDrvr DDK_dir Driver_Drive Driver_Dir free/checked [build_options] echo eg MakeDrvr %%DDKROOT%% C: %%WDMBOOK%% free -cef :exit 2\\在VC的TOOLS\\OPTIONS| Directories标签页下的Show Directories For:中选executable files:将DDK的根目录下的BIN目录和你的工程目录添加进去. 3\\在C:\\config.sys加入shell=c:\\command.com /p/e:4096 ... | |
| 地板#发布于:2002-07-06 08:26 
					Chris Cant的批处理例程,该怎么用啊?什么时候用啊?
 | |
| 
 | 
| 地下室#发布于:2002-07-06 10:44 Chris Cant的批处理例程,该怎么用啊?什么时候用啊? :usage echo usage MakeDrvr DDK_dir Driver_Drive Driver_Dir free/checked [build_options] echo eg MakeDrvr %%DDKROOT%% C: %%WDMBOOK%% free -cef 即: DDK_dir:DDK的BIN的路径 Driver_Drive:你的程序的驱动器 Driver_Dir:你的程序的路径 创建VC++驱动程序开发环境 在VC中创建makefile工程 Debug 环境配置 命 令 行:MakeDrvr DDK_dir Driver_Drive Driver_Dir checked 重建选项:-namak /a 输出文件名:文件名.sys Release 环境配置 命 令 行:MakeDrvr DDK_dir Driver_Drive Driver_Dir free 重建选项:-namak /a 输出文件名:文件名.sys | |
| 5楼#发布于:2002-07-06 10:47 
					改:
 DDK_dir:DDK的安装路径 | |
| 6楼#发布于:2002-07-06 10:47 
					用VC建立一个makefile工程
 在project/setting里加上MakeDrvr %DDKROOT% C: %WDMBOOK% free -cef | |
 
							
 
				 
				
 
				