Adventures in serial port.

Pouech Eric DMI AEI CAEN pouech-eric at
Fri Aug 20 06:00:57 CDT 2004

> I have tried the updates but to no avail. I have a test program that
> appears to work well. However when that code is used in my project I still
> lose some characters at the end of the message. The main difference is that
> my project uses sockets, in another thread, to transfer the read/write data
> to/from another application. Could the results from the socket calls be
> messing with the ReadFile() results? I will make an example program that
> includes sockets to see if I can verify this.
does your program (the final one, not the test) use the same buffers and/or the same events in the two threads ?
As most of the read/write structures are thread-dependent, I don't really see how two threads could thrash their data, except for some buffer overflow, hence my first question.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the wine-devel mailing list