Then I tested using the corresponding Eclipse C project. Unfortunatelly I was not able to make it working. It compiles well, but when I run it I am blocked in this function:
int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *data, size_t length)
I wait forever at this function call:
res = GetOverlappedResult(dev->device_handle, &ol, &bytes_written, TRUE/*wait*/);
(hid.c, line 612)
Could you explain me how to get rid of this problem?
Thank you !