使用libusb用Delphi在Windows 64位? [英] Use libusb with Delphi on Windows 64-bit?

查看:910
本文介绍了使用libusb用Delphi在Windows 64位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读了一点后,我很担心,我的32位Delphi应用程序将无法使用的libusb在Windows 7和其他64位Windows系统的64位驱动程序,并且它不能跟我的自定义硬件设备上的系统。这是真的?如果是的话,有没有一些解决方法吗?我缺少的东西在这张照片?

After reading a little, I am concerned that my 32-bit Delphi application will not be able to use libusb 64-bit driver on Windows 7 and other 64-bit Windows systems, and that it will not be able to talk to my custom hardware device on those systems. Is this true? If yes, is there some workaround? Am I missing something in this picture?

推荐答案

在libusb的1.0用了WinUSB后端(Microsoft驱动程序包含在Windows),我们有没有问题,它从一个x86应用程序进行通信(托管C使用C#++库应用)。该行为是在x86和x64平台是一样的。

On libusb 1.0 with the WinUSB backend (Microsoft driver included with windows) we have no problem to communicate with it from an x86 app (Managed c++ library used by C# applications). The behavior is the same on both x86 and x64 platforms.

我不知道libusb的0.1(旧的一个是能够​​使用的libusb-win32的内核驱动程序),但由于您的链接指向1.0版本,你似乎没有使用。

在某一点上的libusb 1.0将支持的libusb-win32的内核驱动程序,但除非在特定的情况下,这是没有必要(了WinUSB有一定的局限性,但我从来没有碰到他们)

这篇关于使用libusb用Delphi在Windows 64位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆