Automation Interfaces

From RAD Studio
Jump to: navigation, search

Go Up to Creating Simple COM Servers Index

The Automation Object wizard implements a dual interface by default, which means that the Automation object supports both

  • Late binding at run time, which is through the IDispatch interface. This is implemented as a dispatch interface, or dispinterface.
  • Early binding at compile-time, which is accomplished through directly calling one of the member functions in the object's virtual function table (VTable). This is referred to as a custom interface.

Note: Any interfaces generated by the COM Object wizard that do not descend from IDispatch only support VTable calls.