Tags:
Microsoft, Windows, XP, RS232 Serial Port Driver Development., Datalogic Scanning, Doli, LS1203, Developing a driver for this device., C++, "The I/O operation has been aborted because of either a thread exit or an application request."
This is a simple app that will pass parsed data packets up to a higher level program. I need to open an RS232 Com port, SET_RTS high, Poll ReadFile, Toggle RTS TO low then high (1ms).
Open works, Set RTS Works, Polling RS232 works.
When data is transmitted (Scope Verified), the com port stops working giving the following from GetLastError() (995).
"The I/O operation has been aborted because of either a thread exit or an application request."
I've tried ClearCommError() and gotten that there is an error of type: "CE_FRAME"