On a windows (XP/Vista) system with a hardware device attached, determine a method to find out the name of the program or windows service or windows device driver that has the device "opened" for use.
So, here's the problem: You have a windows XP or Vista computer and you plug in a USB HID Class hardware device.? You have not installed any device drivers specific to the device and have no user installed applications running.? As the device is a HID device, there is no driver to install, it is built into Windows.? The device is properly enumerated in Device Manager; there are no errors.
Now you install an application designed to work with this device.? Unfortunately the device cannot be opened by the application.?
A test program has been developed that indicates that the device is in use by another process or application.?
I suspect that another installed device driver is opening the usb device.
I want to know what application, service, device driver, or whatever it is that is exclusively openeing the device.
Write a program, or possibly a procedure that tells me the information I need to determine what is keeping the device open.