Method AutomationObject():loadTypeLib() Foundation
Loads a typelibrary.
:loadTypeLib( <cTypelib> ) --> self
This method returns the object executing the method. If the type library could not be loaded, a runtime error occurs.
:loadTypeLib() loads type library information at runtime. The information contained in a type library is required by the Xbase++ runtime system. A COM/ActiveX component without type library information cannot be used with Xbase++. A type library file usually has the suffix *.TLB.
Loading a type library is required for all COM/ActiveX components that do not come with built-in type library information. A typical usage pattern is to (A) create the COM/ActiveX component, (B) load the required type library, and (C) to query the desired interface.
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.