makeAutomationObject
makeAutomationObject();
The makeAutomationObject method of the ActiveXControl class creates an
Although the ActiveX object was imported as a control, it can be used as an automation object on the application server when you set the usePresentationClient property to false.
The following example assumes that you have imported the Microsoft SysInfo control type library (that is, sysInfo.ocx) into JADE as an ActiveX control. This example creates a JADE control instance and calls the makeAutomationObject method instead of adding the control to a form.
createSysInfoAsAutoObject(); vars actx : SysInfo; begin create actx transient; actx.makeAutomationObject; write actx.oSVersion; write actx.oSBuild; delete actx; end;