Implement the IDispatch interface in COM-enabled classes that have to act as Automation controllers. The IDispatch interface exposes a number of methods for Automation clients that require late-binding (such as scripting languages).