Tech Support > Microsoft Windows > Development Resources > Windows 98/NT Serial Port Break Char
Windows 98/NT Serial Port Break Char
Posted by janvi on December 3rd, 2003


for receiving events like break I have
the following problem.
On WinNT I received the break sign event correctly
but on Win98 I didn't.
Have anybody a idea to that problem?

before I start my event handler I set the Comm Mask like
that:

// Eventmaske setzen
if ( !SetCommMask(hCom,EV_RXFLAG | EV_ERR | EV_BREAK))
{
AfxMessageBox(IDS_ERR_COMPORT_SETCOMMMASK,MB_OK);
return false;
}


Similar Posts