Author Topic: HID - Sending OUT Report while IN Report is Waiting  (Read 134 times)

Victor M

  • Member
  • ***
  • Posts: 9
Re: HID - Sending OUT Report while IN Report is Waiting
« Reply #15 on: September 13, 2018, 11:28:39 am »
Jan,

In the link you gave it states "To use this option, you should turn on the asynchronous option (with the option useAsync: true) when creating an instance of the FileStream class. "

But as I mentioned before, when I set the useAsync option true, I get a runtime error - "Additional information: Handle does not support asynchronous operations. The parameters to the FileStream constructor may need to be changed to indicate that the handle was opened synchronously (that is, it was not opened for overlapped I/O)."

This seems to say there is something about the file handle that is incompatible with asynchronous (overlapped) operation. I have no idea what do do about that.