ActiveX and User Exit Functions
createobject function
The createobject function enables you to create an instance of an ActiveX Automation Server.
object = createobject("ProgID");ProgID is the programmatic identifier. An example of a ProgID is: "InternetExplorer.Application"
deleteobject function
The deleteobject function enables you to delete an instance of an ActiveX Automation Server. An object must be deleted before the end of the map that uses it. It is more efficient to delete the object immediately on completion (using the DELETEOBJECT command), although the Sterling Gentran:Server® translator will delete the object automatically at the end of the map. Also, if you assign one object to another one, both copies of the object must be deleted for that object to be properly unloaded.
deleteobject(object);getiid function
The getiid function enables you to obtain the unique identifier for an interface, by using the string-character name of the interface to return the globally unique identifier that is used by software to run the interface.
string_variable = getiid("ProgID", "InterfaceID");InterfaceID (IID) is the interface identifier. An example of an IID is: "IWebBrowser2"
queryobject function
The queryobject function is used to request a different interface on an existing object.
object2 = queryobject(object1, "{IID}");