|
From: karlhoover <kar...@gm...> - 2011-03-18 20:04:38
|
We use libusb in our microscope automation system. I've updated to
libusb-win32 1.2.2.0
The following code works fine, and prints out a buss name bus-0 on both
platforms. It finds, for example, my Velleman 8055 on x86 but bus->devices
list is a null pointer on x64 on identical hardware. I've triple checked the
installation of the libusb0.sys and libusb0.dll files. I temporarily disable
digital driver signing enforcement when I boot Windows 7, so I do not think
this is a problem with driver signing. Any ideas what I should try next?
Karl
usb_init();
usb_find_busses();
usb_find_devices();
busses = usb_get_busses();
for (bus = busses; bus; bus = bus->next) {
std::cout << "buss dirname " << bus->dirname << std::endl;
for (dev = bus->devices; dev; dev = dev->next) { //........
--
View this message in context: http://libusb.6.n5.nabble.com/devices-list-is-empty-on-Windows-x64-tp3981870p3981870.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
|