Prev: IOCTL_INTERNAL_USB_SUBMIT_URB stuck
Next: Cheap USB device that never autoplays or asks for driver
From: Ramya Aradhya on 25 Sep 2009 02:09 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
From: Doron Holan [MSFT] on 25 Sep 2009 14:19 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? -- This posting is provided "AS IS" with no warranties, and confers no rights. "Ramya Aradhya" <RamyaAradhya(a)discussions.microsoft.com> wrote in message news:1EB05724-FB23-4E2A-9DC1-24DA76BFE3EC(a)microsoft.com... > 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 >
From: Rumya on 30 Sep 2009 01:29 On Sep 25, 11:19 pm, "Doron Holan [MSFT]" <doron.ho...(a)online.microsoft.com> wrote: > 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? > > -- > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Ramya Aradhya" <RamyaArad...(a)discussions.microsoft.com> wrote in message > > news:1EB05724-FB23-4E2A-9DC1-24DA76BFE3EC(a)microsoft.com... > > > 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 I'm not closing the handle.i crossed checked with it.This problem occurs only when i'm trying to send data continuously to many devices simultaneously (multi threaded).If this is the problem with the application how can i track this problem? ..
From: Doron Holan [MSFT] on 30 Sep 2009 12:59 download app verifier and run it against your app d -- This posting is provided "AS IS" with no warranties, and confers no rights. "Rumya" <aradhya.ramya(a)gmail.com> wrote in message news:27a92ddd-d3bf-4f63-812f-0f2a1c74e42c(a)y10g2000prg.googlegroups.com... > On Sep 25, 11:19 pm, "Doron Holan [MSFT]" > <doron.ho...(a)online.microsoft.com> wrote: >> 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? >> >> -- >> >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> "Ramya Aradhya" <RamyaArad...(a)discussions.microsoft.com> wrote in message >> >> news:1EB05724-FB23-4E2A-9DC1-24DA76BFE3EC(a)microsoft.com... >> >> > 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 > > > I'm not closing the handle.i crossed checked with it.This problem > occurs only when i'm trying to send data continuously to many devices > simultaneously (multi threaded).If this is the problem with the > application how can i track this problem? > .
|
Pages: 1 Prev: IOCTL_INTERNAL_USB_SUBMIT_URB stuck Next: Cheap USB device that never autoplays or asks for driver |