1 Nov 2010 15:56
DLL name and path...
Kustaa Nyholm <Kustaa.Nyholm <at> planmeca.com>
2010-11-01 14:56:45 GMT
2010-11-01 14:56:45 GMT
I'm new to libusb-win32 though I've used libusb 0.1 for sometime now on Linux and Mac OS X using a small Java wrapper for libusb 0.1 and JNA. Now I would like to 'port' it (Java wrapper) to Windows. As far as I understand it should just-work (tm) if it can find the DLL. I've downloaded the libusb-win32-bin-1-1.2.2.0 and I see that the DLL is called libusb0.dll or libusb0_x86.dll . Why the difference in name? It seems that this will force me to identify the operating system because I need to pass the library name to JNA. Is that correct? Also the documentation says that the DLL should not be in the same directory as the application that is using it, but somewhere in the system where the installer puts it. Now, I do not know yet, if JNA automatically finds it from those locations, if not then I will need to code in some search paths into my application which is a bother, but I maybe jumping the gun here. I've only got access to WinXP so I cannot realy test this on amd64 or ia64 architectures. Any comments are welcome. br Kusti(Continue reading)
RSS Feed