Kbase P27233: Referencing the 'Input' method of MSCOMM.OCX inside of the OnComm event causes a GPF
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/01/2009 |
|
Status: Verified
SYMPTOM(s):
Using MSCOMM.OCX to read from serial port
Referencing the Input method of MSCOMM.OCX inside of the OnComm event causes a GPF
FACT(s) (Environment):
Progress 9.x
Windows
OpenEdge 10.x
CAUSE:
Accessing the Input method exposed by the MSCOMM.OCX causes the data in the buffer to be returned. Accessing the method a second time (when no data is in the buffer) will cause a GPF.
FIX:
Assign the results of the Input method to a variable and process the variable rather than continually invoking the Input method