From: Pete B. <pb...@gm...> - 2010-08-19 12:09:50
|
On 2010.08.19 12:12, Xiaofan Chen wrote: > Pete does not seem to like the dll too much. ;-) Shared libraries in system32 are an abomination that should be removed from the face of the earth! More seriously, the reasoning is simple. libwdi is a generic USB driver installer, and there's no guarantee that anybody who installs WinUSB will use it against libusb 1.0. On the other hand, if you install libusb0.sys, you're pretty much guaranteed to want to use libusb-win32, so installing the DLL along with the driver makes sense. Maybe I'll change that when libusb 1.0 supports libusb0.sys, but, if I can get my way, that's unlikely, as I'd rather not have libwdi install a libusb-1.0.dll in system32 ever, else I'm pretty sure I'm going to end up in a situation during development where I'm testing a shared lib based app against a newly built DLL, while in fact I'm using the one installed by libwdi in system32. I'd prefer not piggybacking libusb on top of a driver installer. Besides, I hope we're not going to fall as low as software makers trying to bundle stuff that people might not need, just for the sake of promoting stuff they want to promote. On the other hand, one could create a libusb installer that includes libwdi, to install both the driver and the DLL. Regards, /Pete |