Type Libraries and the Object Description Language
When you expose ActiveX objects, it allows interoperability with the programs of other vendors. For vendors to use these objects, they must have access to the characteristics of the objects (properties and methods). To make this information available developers must:
Publish object and type definitions (for example, as printed documentation).
Use the Microsoft Interface Definition Language (MIDL) compiler to create a type library that contains the objects, and then make the type library available.
The MIDL compiler compiles scripts that are written in the Object Description Language (ODL). Microsoft has expanded the Interface Definition Language (IDL) to contain the complete ODL syntax.
For more information about the MIDL compiler, refer to the MIDL Programmer's Guide and Reference.
This section contains the following descriptions and references:
- Contents of a Type Library
- Using MIDL
- Using Type Building Interfaces and Functions
- ODL File Syntax
- ODL Reference