Specifications
HLLAPI reference
Gallagher & Robertson Glink: API reference manual 203
Directive Description
Server
Specifies the script commands to start Glink in
Server mode
SendText
Specifies the script commands to execute to initiate a
text file transfer to the host.
SendBinary
Specifies the script commands to execute to initiate a
binary file transfer to the host.
ReceiveText
Specifies the script commands to execute to initiate a
text file transfer from the host.
ReceiveBinary
Specifies the script commands to execute to initiate a
binary file transfer from the host.
Below is an example of a [transfername] section. It is in fact the same as the
predefined FTRAN transfer type and therefore not really needed. However, to
use it you could specify Transfer=Microfit in the [shortname] section for the
relevant connection.
;GCOS7 Microfit/Ftran
[Microfit]
Dialog=Trnline "FTRAN MICROSYS;"
Server=Emulate "^[401C^[6C"
SendText=Trnline "FTRAN MICROSYS;";Putfile FTRAN "%p;%h"
SendBinary=Trnline "FTRAN MICROSYS;";Putfile FTRAN "%p;%h"
ReceiveText=Trnline "FTRAN MICROSYS;";Getfile FTRAN "%p;%h"
ReceiveBinary=Trnline "FTRAN MICROSYS;";Getfile FTRAN "%p;%h"
Debugging HLLAPI applications
The HLLDB32.DLL file can help in debugging HLLAPI applications. To use
this utility, rename the HLLAPI32.DLL file in your Windows directory to
GLHLL32.DLL. Copy the HLLDB32.DLL file to HLLAPI32.DLL in the
Windows directory. This DLL will intercept calls to the HLLAPI and, if
debugging is enabled with 'Debugging=On' in the [Hllapi32] section of
the GLHLLAPI.INI file, will produce a trace of all HLLAPI calls and events
on the file specified with 'DebugFile=filename' in the same section.