| Well , calling usb_set_configuration indeed solved
the problem ! Interesting that on Linux my program
worked without this call. May be it is because I use 
0.1.8 on Linux ? Anyway thank you very much for  a help.
        Mark Bourne <mb...@ze...> wrote:
        Have you called usb_set_configuration first? You need to do that
        before 
        claiming an interface. Also I think interfaces are numbered from
        0, so 0 
        might be a valid interface but not 1 (not being sure what you
        passed to 
        usb_claim_interface, I thought that might be worth mentioning).
        
        You probably need administrative privileges to install the
        driver, but 
        not to run the software. If in doubt, try running it as
        administrator 
        and see if it works.
        
        Mark.
        
        
        Ben wrote:
        
        >Hello
        >
        >I am trying to use libusb on WinXP
        >to operate ftdi chip in bitbang mode.
        >I've created inf file and successfully
        >installed the device driver (not filter driver). 
        >Using supplied test program I see the device. 
        >But when I run my program usb_claim_interface
        >fails. I've checked that no other drivers
        >use the device. What actually happens
        >is that DeviceIoControl inside usb_claim_interface
        >returns error with description "invalid argument".
        >The same code works fine on Linux.
        >Do I need administrative
        >privileges to use libusb ?
        >
        >thanks
 |