TAutoIntfObject implements the IDispatch and ISupportErrorInfo interfaces.
TAutoIntfObject is used internally by objects that support dispatch interfaces. By implementing the IDispatch interface, TAutoIntfObject encapsulates the functionality of an Automation object.
TAutoIntfObject does not have a class factory, so it can only be instantiated by calling the constructor. Objects that are externally instantiated typically have a class factory so that they can be instantiated in a standard way.
TAutoIntfObject supports OLE exception handling through its implementation of the ISupportErrorInfo interface.
TAutoIntfObject is similar to TAutoObject in that both classes implement the IDispatch and (directly or indirectly) ISupportErrorInfo interfaces and both require a type library to support dual interfaces. TAutoIntfObject differs from TAutoObject in that it does not have a class factory.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!