HyperEngineer
Programmer
I want to disable the OnComm event of a serial port. This is what I tried.
In both statements lResult came back as 1. This is OK. However, the lCommEvent came back as 509. And the OnComm event triggered on some events.
Is there a known issue with these APIs?
thanks,
HyperEngineer
If it ain't broke, it probably needs improvement.
Code:
lResult = SetCommMask(MyComm.CommID, 0&)
lResult = GetCommMask(MyComm.CommID, lCommEvent)
In both statements lResult came back as 1. This is OK. However, the lCommEvent came back as 509. And the OnComm event triggered on some events.
Is there a known issue with these APIs?
thanks,
HyperEngineer
If it ain't broke, it probably needs improvement.