serial port communication - again

Rein Klazes rklazes at
Thu Jan 29 08:05:07 CST 2004

On Thu, 29 Jan 2004 13:32:23 +0100, you wrote:

> hello,
> i am using wine 20040121, and the windows application i am trying to run
> need to communicate through the serial ports with an attached device.
> the problem is this: whenever i try to communicate with the serial
> device, i get the following error message:


There is not a single error in the debug trace that you posted. The one
fixme is almost certainly harmless.

I presume it does not work: how do you notice? Does the program report

> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 11
> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 11

These ClearCommError's are normally used by program's to check for bytes
in the in- and output buffers. Here you see that the program has written
11 bytes.

> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 0

Lots of those: the program waits for a response.

> trace:comm:ClearCommError handle 0x164 cbInQue = 1 cbOutQue = 0

Here is an incoming byte.

So the program appears to be communicating, hence my question what goes
actually wrong?

Adding the debug option  "--debugmsg +file,+comm" might give more
insight in the communication problem. The resulting output may be much
bigger though, you will need to search the actual ReadFile and WriteFile
calls that the program does to exchange data.

Rein Klazes
rklazes at

More information about the wine-users mailing list