我电脑上有VC6. 安装了ddk for xp后.再安装Driver stdio. 第一步开始编译Driver stdio的库文件. 可是编译DS库文件时候. 提示有一个错误如下:<br />khidaux.cpp<br />C:Program FilesCompuwareDriverStudioDriverWorksincludedep_wdmhidport.h(6) : fatal error C1189: #error : The file is from the DDK at srcwdmhidinc. Install DDK HID samples to install hidport.h. Or update INCLUDE path for hidport.h in the D<br />DK! <br />好像是找不到hidport.h文件.我于是copy这个文件到ddk的目录下再编译.还是不行. <br />不管这个错误.我用DS设计了一个最简单的USB驱动. 在VC下编译/全部重建 OK.<br />但批构建时候又出错.<br />但是这样不影响我开发pci驱动,可能是没有用到这个库。<br />请用过DS开发usb驱动的朋友们给予解答 |
|