On Sun, Feb 24, 2008 at 6:45 PM, Eliot Blennerhassett linux@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.