Specifications
COM+ reference
14
Glink: API reference manual Gallagher & Robertson
Using GlinkApi with Borland Delphi
Delphi needs to load the GlinkApi VTable Type Library (TLB) definition to be
able to display the GlinkApi methods, properties and events as you program.
Including the GlinkApi definition is done via the Project/Import type library...
menu, which displays a list of libraries that are available. The GlinkApi type
library reference is called "Glink Professional, COM+ and Automation Library"
and is located in the GL.EXE file. If it is not displayed in the list, click the Add
button and select the GL.EXE file in the Glink directory. Once youve selected
the "Glink Professional, Automation and COM+ Library" click install which will
add it to the DCLUSER50.DPK file and rebuilt.
The TGlinkApi object will then be added to the ActiveX Component palette and
you can drag the component into your applications form. The following variable
will be added to the Form.
GlinkApi1: TGlinkApi;
Add Glink_TLB.PAS to the uses section.
Create and use the Glink.GlinkApi object in the following way:
GlinkApi1 := TGlinkApi.Create(Self);
GlinkApi1.SetupSession(1); (* my '7800local.glinkconfig'
*)
GlinkApi1.start; (* connection will be started
automatically *)
GlinkApi1.notifyString('LOGICAL ID--', false, 1, true);
GlinkApi1.setVisible(true);
Lists of the relevant properties and methods will appear as soon as you type the
dot (or bracket). Below are some examples of using the GlinkApi interface: