none
Windows 10 WriteFile Aysnc to COM Port ERROR_IO_PENDING infinitely RRS feed

  • Question

  • Hi All,

    I have an application that calls WriteFile asynchronously to my USB HID device which is opened via COM Port. This results to ERROR_IO_PENDING so my app waits for completion before proceeding. My app works nicely in Windows XP up to Windows 8.1,

    but in Windows 10 suddenly it's not working anymore. WriteFile with ERROR_IO_PENDING seems not to complete and then my app gets stuck.

    Any idea on the possible cause or factors? workarounds?

    Thanks!

    Thursday, December 3, 2015 2:29 AM

All replies

  • HID do not have COM port names by default or by any inbox functionality. this can only come from a third party driver. you should ask the vendor of the driver which is providing the COM port naming functionality.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, December 3, 2015 9:28 PM