打印

请教usb驱动开发

[复制链接]
1487|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mcjun|  楼主 | 2008-1-4 12:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
小弟在学习驱动开发,做了一个usb驱动程序(照书上抄的)可是在编译的时候出现了如下提示,不知是怎么回事,请各位大虾指教!!
        D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled
D:\DriverStudio\DriverWorks\include\kcsq.h(113) : error C2061: syntax error : identifier 'PIO_CSQ'
        D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled
D:\DriverStudio\DriverWorks\include\kcsq.h(113) : error C2061: syntax error : identifier 'PIO_CSQ'
        D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled
D:\DriverStudio\DriverWorks\include\kdmqcsq.h(28) : fatal error C1017: invalid integer constant expression
Generating Code...
Error executing cl.exe.

usb2.sys - 38 error(s), 0 warning(s)
The following environment variables were not found
$(WINVER)
$(NTDDI_VERSION)
$(_WIN32_IE)
$(_WIN32_WINNT)

相关帖子

沙发
computer00| | 2008-1-4 13:00 | 只看该作者

装了DDK没有啊...

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

1

帖子

0

粉丝