Exposing ActiveX Objects
Exposing objects makes them available for programmatic use by other applications and programming tools. This section discusses how to design an application that exposes objects, and then uses various samples from the COM Programmer's Reference to demonstrate how to implement the design.
In this section
| Topic | Description |
|---|---|
|
To expose ActiveX objects, you write code to initialize the objects, implement the objects, and then release OLE when the application terminates. | |
|
Provides guidance for designing an Automation application. | |
|
You must create a type library for each set of exposed objects. | |
|
The Hello sample is an Automation application with one object. | |
|
The Lines sample is an ActiveX component application that implements collections. | |
|
The IDispatch interface provides a range of solutions that vary in cost of implementation and quality of language support. |