Method ActiveXObject():create() Foundation
Creates an ActiveXObject and connects it to a COM/ActiveX object.
:create( <cProgID> | <cCLSID> | <nInterface>, [<cServerName>], ; [<cLicense>] ) --> oActiveXObject | NIL
This method returns an object of the class ActiveXObject that is connected to the COM/ActiveX component. If the method fails the value NIL is returned. The error number and a descriptive error message can be retrieved by calling the functions ComLastError() or ComLastMessage().
The ActiveXObject instance returned by the method :create() is connected to the COM/ActiveX component specified in the method's parameters. The ActiveXObject instance serves as a proxy that allows the Xbase++ application to call methods or to access properties of the COM/ActiveX component.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.