znsoft
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2023-10-25
  • 粉丝300
  • 关注6
  • 积分910分
  • 威望14796点
  • 贡献值7点
  • 好评度2410点
  • 原创分5分
  • 专家分100分
  • 社区居民
  • 最爱沙发
  • 社区明星
阅读:4747回复:2

我的DriverStudio怎么不好用?

楼主#
更多 发布于:2001-03-28 13:10
我的DriverStudio怎么不好用?  < 上一贴     下一贴 >
发表者  帖子              
 
shock_true
初级会员

注册日期: 2001年03月
发表帖子: 3  
 我在Windows98下安装了DDK、DriverStudio2.0修正版,

用Visual C++编译vdwlibs.dsw.通过,但是当企图编译

..\Example\wdm\hellowdm\hellowdm.dsw工程的时候

出现错误如下,请高手指点。
d:\98ddk\inc\win98\winbase.h(3936) : error C2065: 'LATENCY_TIME' : undeclared identifier
d:\98ddk\inc\win98\winbase.h(3937) : error C2146: syntax error : missing ')' before identifier 'latency'
d:\98ddk\inc\win98\winbase.h(3937) : warning C4229: anachronism used : modifiers on data are ignored
d:\98ddk\inc\win98\winbase.h(3937) : error C2491: 'RequestWakeupLatency' : definition of dllimport data not allowed
d:\98ddk\inc\win98\winbase.h(3937) : error C2059: syntax error : ')'
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1267) : error C2011: '_SID_IDENTIFIER_AUTHORITY' : 'struct' type redefinition
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1277) : error C2011: '_SID' : 'struct' type redefinition
Error executing cl.exe.

HelloApp.exe - 6 error(s), 1 warning(s)

__________________
轻柳拂晓,

云淡天高……
 
 
 2001年03月14日 16:51           IP: 202.118.68.73  
 
znsoft
超级管理员

注册日期: 2000年12月
发表帖子: 190  
 你执行了开始菜单上 driverstudio\tools下\的setup ddk功能了吗?

__________________
让我们一起进步!
http://www.driverdevelop.com
 
 
 2001年03月14日 18:53            IP: 202.106.167.7  
 
sampex
初级会员

注册日期: 2001年03月
发表帖子: 2  
  
I use the DriverWorks 2.01b which is downloaded from here.

Followed the steps to build the lib using VC++6.0 SP4. VC crashed.

Followed the manual steps to build the lib. It is working.

Anyother problem is that I can not using "build" to build the hellowdm example. It does NOT do anything. Then I use the VC6 environement to build, It works!

W2k with W2k DDK

Any suggestions?

sampex
 
 
 2001年03月16日 05:08           IP: 205.243.158.62  
 
shock_true
初级会员

注册日期: 2001年03月
发表帖子: 3  
 搞定了,感谢诸位大虾。

小可还有一事不明:为什么生成的是exe而不是vxd文件呢?

__________________
轻柳拂晓,

云淡天高……
 
 
 2001年03月16日 08:34           IP: 202.96.244.243  
 
znsoft
超级管理员

注册日期: 2000年12月
发表帖子: 190  
 那个exe应该是测试程序,driverstudio一般都为工程生成测试用程序的通常为控制台程序.

__________________
让我们一起进步!
http://www.driverdevelop.com
 
 
http://www.zndev.com 免费源码交换网 ----------------------------- 软件创造价值,驱动提供力量! 淡泊以明志,宁静以致远。 ---------------------------------- 勤用搜索,多查资料,先搜再问。
游客

返回顶部