登录
首页 » 嵌入式系统 » 读写USB端口的VC程序,编译说明 : 1. 安装DDK 2. 把DDK的inc路径填在头文件的包含路径中 3. 把DDK的lib路径填在库文件的包含路径中 4...

读写USB端口的VC程序,编译说明 : 1. 安装DDK 2. 把DDK的inc路径填在头文件的包含路径中 3. 把DDK的lib路径填在库文件的包含路径中 4...

于 2022-04-12 发布 文件大小:31.60 kB
0 40
下载积分: 2 下载次数: 1

代码说明:

读写USB端口的VC程序,编译说明 : 1. 安装DDK 2. 把DDK的inc路径填在头文件的包含路径中 3. 把DDK的lib路径填在库文件的包含路径中 4. 注释掉原代码中的HIDD_ATTRIBUTES结构 // 不知作者为什么要添加这个结构定义 5. 添加setupapi.lib 如果不想安装DDK,就去掉前两步,但需要拷贝相关的头文件和库文件到工程目录--A VC program reading/writing USB port. Compilationg steps: 1. install DDK. 2. include DDK s inc path in header file s searching path. 3. include DDK s lib path in the library s search path. 4. comment out HIDD_ATTRIBUTES structure in the source file. 5. add setupapi.lib. If you don t want to install DDK, you could omit the first 2 steps, but you need to copy corresponding header files and library files.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103886会员总数
  • 81今日下载