Go look at the TTY example that comes with visual C++. It shows how to use the port correctly and not miss any characters. What version of C++ are you using? Norm At 07:18 PM 1/16/98 +0100, you wrote: >hello everbody, > >my question is a little bit off topic (i gues) >but maybe somebody can point me to the right location (list or newsgroup) > >i have a made a program (c++) witch reads data from the serial port >a data device on com1 f.e. sends lots of data to my computer >the big problem in win95 is, while i'm receiving data, my program is blocked >(task switching) and when it receive's control, data is lost. >how can i solve this problem. i'm looking for some kind of blocking >procedure >to stop windows for task switching while my program receives data > >Kind Regards, >Rob Aerts > >