Facebook

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.


E1009: GlinkApi, Ggate interactive parameters could fail

Product: GlinkApi
Platform: All Windows
Status: Fixed for 7.2.4
Last updated: 2004-08-27 07:22:44

If all interactive Ggate parameter were set with default values,
then the GlinkEvent_INTERACTIVE_COM_PARAMS_REQUESTED event was not
triggered.

If only one Ggate parameter was set for prompting, then the
client application could fail when calling the
GlinkApi.getInteractiveComParams method.

Work-around is to always configure at least two interactive
parameters with at least one of them without a default value.
The default values for interactive parameters are set in:

  Settings->Comms options (Windows sockets):

          Protocol: G&R DSA (or DIWS) gateway

          Hosts>>
            User ID : phil    [x]
            Password:         [x]

The following onGlinkEvent code is an example of using the
GlinkEvent_INTERACTIVE_COM_PARAMS_REQUESTED:

In Visual Basic:

  Dim Ev As Integer
  Dim V As Variant
  Dim I As Integer
  Dim S As String
  ...
  E = glevent.getEventCode
  ...
  If E = GlinkEvent_INTERACTIVE_COM_PARAMS_REQUESTED Then
    V = glapi.getInteractiveComParams()
    For I = 0 To UBound(V, 1)
      V(I)(2) = InputBox(V(I)(1), _
                "Please enter interactive param", _
                V(I)(2))
    Next I
    glapi.setInteractiveComParams (V)
  End If

In Delphi:

  Ev : IGlinkEvent;
  E : integer;
  V : Variant;
  N : integer;
  S : string
  ...
  Ev := IDispatch(glevent) as IGlinkEvent;
  E := Ev.getEventCode;
  ...
  if E = GlinkEvent_INTERACTIVE_COM_PARAMS_REQUESTED then
    begin
      V := GlApi.getInteractiveComParams;
      for N := 0 to VarArrayHighBound(V, 1) do
        begin
          S := V[N][2];
          S := InputBox('Interactive params', V[N][1], S);
          V[N] := VarArrayOf([V[N][0], V[N][1], S]);
        end;
      GlApi.setInteractiveComParams(V);
    end
(c) Copyright 1982-2017 Gallagher & Robertson AS. Webmaster: webmaster@gar.no

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