CommEvent overlapped in Qt

1.6k Views Asked by At

I'm using Qextserialport in QT, but I keep getting a waring:

CommEvent overlapped write error: 995 

What does this warning mean? And more important, how do I solve it?

1

There are 1 best solutions below

0
On

From the source it seems 995 is what GetLastError() returned. 995 stands for ERROR_OPERATION_ABORTED - The I/O operation has been aborted because of either a thread exit or an application request.

This is from winerror.h:

//
// MessageId: ERROR_OPERATION_ABORTED
//
// MessageText:
//
// The I/O operation has been aborted because of either a thread exit or an application request.
//
#define ERROR_OPERATION_ABORTED          995L