This is a translation of the libusb-win32 headers to delphi.
Because delphi cannot use ".lib" files generated by C(++) compilers.
I've compiled the libusb.lib into a DLL which can be accessed in delphi.
The usb.h header is translated into a delphi header which links to
this DLL (USBLibExport.dll).
There is a test program to see if it works.
You ofcourse need the LibUSB driver installed to get it to work correctly.
Links:
http://libusb-win32.sourceforge.net
http://libusb.sourceforge.net.
没有合适的资源?快使用搜索试试~ 我知道了~
DelphiLibUSB-WIN32.zip
共46个文件
idb:4个
obj:4个
txt:3个
4星 · 超过85%的资源 需积分: 9 99 下载量 175 浏览量
2010-01-29
14:33:57
上传
评论 1
收藏 2.02MB ZIP 举报
温馨提示
这个也是网上下载的,作者不详 ....LibUSB文件中包含的那个测试USBasp的小程序,有反应说不能联机。我检查一下,是我的一个疏忽。USBasp现在更新了它的VID和PID,使用了AVR_USB的免费号码。我用的还是以前旧的号码...
资源推荐
资源详情
资源评论
收起资源包目录
DelphiLibUSB-WIN32.zip (46个子文件)
DelphiLibUSB-WIN32
USBTest.dof 2KB
USBTest.dsk 6KB
COPYING_GPL.txt 18KB
LibUSB.dcu 8KB
COPYING_LGPL.txt 26KB
C++ USBLibExport
USBLibExport.sln 913B
StdAfx.cpp 299B
USBLibExport.h 4KB
USBLibExport.suo 9KB
USBLibExport.opt 54KB
USBLibExport.ncb 35KB
USBLibExport.plg 645B
USBLibExport.def 1KB
usb.h 9KB
Debug
vc70.idb 99KB
USBLibExport.lib 13KB
USBLibExport.pdb 683KB
vc60.idb 81KB
vc70.pdb 212KB
BuildLog.htm 3KB
USBLibExport.obj 21KB
USBLibExport.exp 7KB
USBLibExport.pch 2.44MB
StdAfx.obj 70KB
USBLibExport.dll 132KB
StdAfx.h 802B
USBLibExport.dsp 4KB
USBLibExport.vcproj 6KB
Release
vc70.idb 99KB
USBLibExport.lib 13KB
vc60.idb 41KB
BuildLog.htm 3KB
USBLibExport.obj 8KB
USBLibExport.exp 7KB
USBLibExport.pch 2.31MB
StdAfx.obj 431B
USBLibExport.dll 44KB
USBLibExport.cpp 5KB
USBLibExport.dsw 549B
libusb.lib 10KB
USBTest.cfg 434B
readme.txt 505B
USBTest.exe 45KB
USBTest.dpr 6KB
LibUSB.pas 12KB
USBLibExport.dll 28KB
共 46 条
- 1
资源评论
- wincehxd2017-03-21首先缺少libusb0.dll,其次从其他的例程里找后,调用里面方法初始化成功,也能获取libusb总线数和设备数,但是无法获取设备。
- slb8632017-03-24谢谢您的分享
- 斐菲2013-07-09资料是好资料,梦寐以求,不过我这提示少LIBUSB0.DLL,请指教一下谢谢
- dinyylii2012-12-01用这个开发省事啊,
- bigbigwolf2017-12-13谢谢您的分享
guoxujie
- 粉丝: 50
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功