Contents of a Type Library

Type libraries are compound document files (.tlb files) that include information about types and objects exposed by an ActiveX application. A type library can contain any of the following:

By including the type library with a product, the information about the objects in the library can be made available to the users of the applications and programming tools. Type libraries can be shipped in any of the following forms:

Object browsers, compilers, and similar tools access type libraries through the interfaces ITypeLib, ITypeLib2, ITypeInfo, ITypeInfo2 and ITypeComp. Type library tools (such as MkTypLib) can be created using the interfaces ICreateTypeLib, ICreateTypeLib2, ICreateTypeInfo and ICreateTypeInfo2.