阅读:1125回复:1
初学DW,简单问题求助各位大哥
我用Driver Network wizard生成了一个工程,由于我想用KDevice类,,所以就包含
#define VDW_MAIN #include <vdw.h> 编译的时候出现一堆错误。。 D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(252) : error C2061: syntax error : identifier 'T' D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(273) : error C2992: 'KIoRegisterSafe' : invalid or missing template parameter list D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(273) : see declaration of 'KIoRegisterSafe' D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(416) : error C2061: syntax error : identifier 'T' D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(437) : error C2992: 'KMemoryRegisterSafe' : invalid or missing template parameter list D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kaddress.h(437) : see declaration of 'KMemoryRegisterSafe' D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kwmi.h(513) : error C2061: syntax error : identifier 'F' D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kwmi.h(537) : error C2992: 'KWmiDispatcher' : invalid or missing template parameter list D:\Compuware\SoftICE Driver Suite\DriverWorks\include\kwmi.h(537) : see declaration of 'KWmiDispatcher' 请问怎么解决?谢谢 |
|
沙发#
发布于:2004-03-03 19:10
还是不用ds的好,还是写标准的sys好,这样可以了解驱动编写的过程!以上是个人意见
|
|
|