Fill out this form to subscribe to news, tips and information about updates.

Read more
Search known errors
From date:
To date:

Follow us
Facebook    Twitter    LinkedIn

G&R » Support » Known Errors  

Known Errors

These are the known errors in our products, logged as reported with versions and platforms affected as well as corrections and work-arounds.

This list is largely historical, since it records all problems that have been reported throughout G&R history. Only the most recently reported problems still exist, unless you are using a very old copy of the product, in which case you should update the product to the most recent version.

E1226: GlAPI, line_wait (0) failed to report events

Product: GlAPI
Platform: Windows
Status: Fixed for 6.6. Fix available for 6.5
Last updated: 2010-05-27 10:51:01

The line_wait (N) call allows a Host Links GlAPI application to wait for
an event (incoming data) on any of the lines it is controlling. The call
returns the lid of the line on which the event occurred. The parameter N
is a time-out in seconds that returns -1 to the application if no events
occur. A negative time-out e.g. -1 causes the application to be suspended
indefinitely until an event occurs. The special case of N=0 should have
allowed the application to do a single 'poll' of the lines to check for
events, without suspending. This had stopped working and always returned a
time-out (-1).

The work around is to not use line_wait(0) to poll the lines, but check
with line_input_available.
(c) Copyright 1982-2018 Gallagher & Robertson AS. Webmaster: webmaster@gar.no

URL: http://www.gar.no/support/errors