Specifications
OLE reference
Gallagher & Robertson Glink: API reference manual 157
VBA Example:
Dim S As String
S = GL.Receive(100, String(1, Chr(03)), 100, FALSE)
If (S > "") Then
Emulate (S)
If InStrB(S, "MODEL") > 0 Then
GL.Transmit ("VIP7804")
Else If InStrB(S, "LOGON") > 0 Then
GL.Transmit ("NAME")
End If
End If
The GWConnect method
Makes a connection through a gateway
GWConnect ( Gatewayname, Hostname )
Gatewayname: String Gateway name to connect through
Hostname: String host name to connect to
Return value: none
This method makes a connection to a host through a gateway. This function can
be used for G&R/Ggate connections or other communication interfaces requiring
a gateway name. If empty strings are provided in either of the parameters, then
the corresponding default config value will be used.
The LoadConfig method
Changes to another configuration
LoadConfig ( Configfilepath )
Configfilepath: String Config file to load
Return value: Boolean TRUE if successful, otherwise FALSE
This method changes to another Glink configuration file. When started as an
automation server, the default Glink config file, DEF.glinkconfig will be loaded.