Click to See Complete Forum and Search --> : Serial Comm and WaitCommEvent()


tushar_zaware
12-03-2002, 10:21 PM
We are facing the problem while using the WaitCommEvent() in serial communication.
Could anyone please post any available 'working' source code for the serial communication?

Thanks
Tushar

bettyboop
12-08-2002, 10:43 AM
Ask at www.technobrains.com

Henry Fok
12-19-2002, 03:17 AM
evtMask = EV_RXCHAR;
WaitCommEvent(hCommFile, &evtMask, NULL);
while ((! ReadFile (hCommFile, &tch, 1, &cBytes, 0))
{
.......


}