The value contained in :interface is a thread-local value. Reading this instance variable from another thread generally yields a different value.
Member variable AutomationObject():interface Foundation
Interface of the connected COM/ActiveX object.
This instance variable contains the interface via which the AutomationObject is connected to the COM/ActiveX component. If an object is created via GetObject(), :interface contains a reference to the IUnknown interface of the COM/ActiveX component. If the object was returned by :queryInterface(), :getProperty(), :callMethod() or :invoke() then :interface contains the reference to the corresponding interface.
The value :interface can be used for passing a COM interface of a COM/ActiveX component to modules not developed in Xbase++. It is recommended to call :addRef() before the interface is accessed.
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.