|
From: Garth D. <iro...@gm...> - 2007-04-07 08:50:19
|
Tried that before but hit an error message like this: 1> libdjconsole-0.1.2\djconsole.cpp(142) : error C2664: 'usb_set_configuration' : cannot convert parameter 1 from 'usb_device *' to 'usb_dev_handle *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast So I changed it to hdev1, but that didn't work... Thanks for the pointer! Now I know what direction to head in... just need to figure out how to cast it properly for cpp I think. (should be easy enough to figure that out) Cheers, -G On 4/7/07, Stephan Meyer <ste...@we...> wrote: > > > > LIBUSB_DLL: error: usb_claim_interface: could not claim interface 5, > invalid configuration 0 > > > bus-0/\\.\libusb0-0003--0x06f8-0xb100 06F8/B100 > > - Manufacturer : Hercules > > - Product : Hercules DJ Console Mk2 > > wTotalLength: 399 > > bNumInterfaces: 8 > > > > bConfigurationValue: 1 > > > Insert usb_set_configuration(dev, 1) before usb_claim_interface(). > > Stephan > > > _______________________________________________________________ > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > -- __ --- == __/ t.O ==-- http://stacktrace.org/ |