Specifications
OLE reference
142
Glink: API reference manual Gallagher & Robertson
Enumerating Glink sessions with VB
As you only get a connection to the next Glink session once the previous one is
connected, you need to continue connecting to the next Glink.Auto without
freeing any of the copies you have connected to already. This can be done in
several ways -- below is a generic recursive method which connects to a specific
Glink session using
Glink Title+"!"+Glink instance number
as an identification for a specific Glink. In Visual Basic this is:
gl.Caption + "!" + gl.Instance
An empty string can be used to start a new instance of Glink: