Hi,
maybe this is a common question, in which case I would be very glad for a
few pointers to corresponding information. Here is what I am hoping to
achieve:
A device (a DSLR, but that should not really matter) can be controlled by
the computer via USB. The manufacturer provides an SDK and a couple of
DLLs, but no USB documentation and certainly no source. It's using the SDK
or reverse-engineering the protocol. Is it possible to use Wine to emulate
the Windows-specific USB bits and pieces (so the DLL is happy) and thus
write a wrapper lib (.so) for Unix app development?
Regards,
Robert
Wrapping a Windows DLL
Wrapping a Windows DLL
On Fri, Jul 3, 2009 at 1:23 AM, Robert Fendt<[email protected]> wrote:
--
-Austin
http://wiki.winehq.org/USBHi,
maybe this is a common question, in which case I would be very glad for a
few pointers to corresponding information. Here is what I am hoping to
achieve:
A device (a DSLR, but that should not really matter) can be controlled by
the computer via USB. The manufacturer provides an SDK and a couple of
DLLs, but no USB documentation and certainly no source. It's using the SDK
or reverse-engineering the protocol. Is it possible to use Wine to emulate
the Windows-specific USB bits and pieces (so the DLL is happy) and thus
write a wrapper lib (.so) for Unix app development?
--
-Austin
Re: Wrapping a Windows DLL
Vanilla Wine does not support any USB drivers and can not talk directly to USB devices (with exception of USB->Serial interfaces).Robert Fendt wrote:A device (a DSLR, but that should not really matter) can be controlled by the computer via USB.
See the link Austin posted for experiential patches for USB support.
Re: Wrapping a Windows DLL
Forgot to add, you can create a "wrapper" for a DLL. The only problem, it will have to be winelib app running under Wine.
Wine is more then just a few libraries. It's a whole environment. You can't pull only one piece out of it and expect it to work. Especially of that one piece [kernel drivers] touches so many things.
Wine is more then just a few libraries. It's a whole environment. You can't pull only one piece out of it and expect it to work. Especially of that one piece [kernel drivers] touches so many things.