phantomroot
December 6th, 2001, 07:26 AM
If you continuesly read from com port using ReadFile without overlapped structure, then WriteFile may get stuck for a long period of time (writing and reading is done by two diffrent threads). Quite easy solution is to use FILE_FLAG_OVERLAPPED-method. This bug in not present in windows 98.