USB with libusb

Steven Edwards winehacker at gmail.com
Sun Feb 24 19:13:10 CST 2008


On Sun, Feb 24, 2008 at 6:45 PM, Eliot Blennerhassett
<linux at audioscience.com> wrote:
>  The Windows app has been linked to (win32) libusb.
>  How do I get it to use the linux version of libusb?
>  Will it "just work", or do I need to make a libusb.dll for Wine that passes
>  calls through to linux libusb?
>
>  (I am talking to a hardware manufacturer that currently uses their own
>  custom .sys driver to access usb on windows, suggesting libusb might make
>  their app easier to port or just run with Wine)

Look at the capi32 or opengl sources in wine and how they use
dlopen/dlsym to invoke the native library and call down to the native
functions.

-- 
Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the wine-devel mailing list