ClassWizard: Accessing Automation Servers
Automation (formerly OLE Automation) allows other applications to expose objects and their interfaces to your application. You can make use of this feature by writing Automation clients in C++, as well as in Visual Basic and other interpreted languages that support Automation.
For information and a procedure, see the article Automation Clients: Using Type Libraries.