Excuse me, how to use Delphi language for usb hid devices to read and write,
I am using JvHidControllerClass (HidController) components,
Can be read normal TJvHidDevice ProductName (GET DESCRIPTOR) can read the device name and VID/PID information,
But using TJvHidDevice. WriteFile () or Mydevice. SetOutputReport () has been writing data,
GetLastError always prompt function is not correct, I do is according to the official demo, (use BUS HOUND can normal writing data)
Directly to the hardware for the first time, please have a similar experience can help to look at,