On Tue, Jan 1, 2013 at 2:43 AM, Mohamed HAMZAOUI <requin...@gmail.com> wrote: > Hi, > Happy new year for everyone :) > > I have a strange problem with libusbx 1.0.14 on windows 7 > > when i run this test : > > status = libusb_init(&ctx); > > libusb_get_device_list(ctx,&list_devices); > > libusb_open(libusb_dev[dev_index], &handle); > > libusb_close(handle);
Why you close the handle and then open? This should not be here. > libusb_open(libusb_dev[dev_index], &handle); > > Here the libusb_open return -3 and debug messages is : > libusbx: error [winusbx_open] could not open device > \\.\USB#VID_0525&PID_A4A0#1_00000000#{A5DCBF10-6530-11D2-901F-00C04FB951ED} > (interface 0): [5] Access Denied Another thing, did you install a supported driver (like WinUSB)? https://github.com/libusbx/libusbx/wiki/Windows-Backend#wiki-How_to_use_libusbx_on_Windows -- Xiaofan ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel