<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>With libusb-win32 I tried to make a small program to list the usb
devices. <br>
I discovered that the constant PATH_MAX had changed from 4096 in
pas-libusb to 512 in libusb-win32-bin-1.2.6.0\include\lusb0_usb.h
line 21 . This was causing an exception.</p>
<p>Now the program works but just output "Bus: bus-0" with no
devices.<br>
libusb-win32 comes with two test programs testlibusb-win.exe and
testlibusb.exe but don't find any devices too. I think that for
some reason libusb-win32 doesn't work with recent Windows (I'm
testing on Windows 10).</p>
<p>If you want to test, I've put temporarily a zip of my test
directory at <a class="moz-txt-link-freetext" href="http://mars42.com/test_libusb-win32.zip">http://mars42.com/test_libusb-win32.zip</a> .</p>
<p>I've seen <a class="moz-txt-link-freetext" href="https://sourceforge.net/p/libusb-win32/wiki/Home/">https://sourceforge.net/p/libusb-win32/wiki/Home/</a> that
they advice to migrate to the li<strong></strong>busb-1.0 form
<a class="moz-txt-link-freetext" href="http://libusb.info">http://libusb.info</a>.</p>
<p><br>
</p>
</body>
</html>