I have a simple application that sends one byte to a serial port once a minute. But sometimes, for some strange reason, it hangs somewhere in the WriteFile () function. Both flow controllers sw and hw are off. I was looking for some things while waiting for read operations to be performed from other threads, but I believe this is not a problem because my application has one thread. In addition, the handle from CreateFile looks correct, so the port should not be used by any other applications. Has anyone suffered from this?
Ladislav
source share