Winusb error after continuous data transfer (multi threaded)

Discussion in 'Windows Vista Drivers' started by Ramya Aradhya, Sep 25, 2009.

  1. I'm using Windows ddk version 6001.18001 , windows xp sp2.

    It works for long when communicating to single device at a time.But when
    working with multiple devices simultaneously ,it works for some time later
    get error(WindowsLasterror) ERROR_BAD_COMMAND,0x4f,ERROR_DEVICE_NOT_CONNECTED
    and ERROR_INVALID_HANDLE.After getting this error no instructions work.
    But after restarting the application(reinitializing) it starts to work.What
    might be the issue with this?
    Need help with this ASAP
    Ramya Aradhya, Sep 25, 2009
    1. Advertisements

  2. for invalid handle, I think your app might be double closing a handle and
    invalidating the handle to winusb. this is most likely your app's problem.
    device not connected might have to do with your device, does it fall off of
    the usb bus?
    Doron Holan [MSFT], Sep 25, 2009
    1. Advertisements

  3. download app verifier and run it against your app

    Doron Holan [MSFT], Sep 30, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.