Type Library Viewers and Conversion Tools
Type libraries contain the specification for one or more COM elements, including classes, interfaces, enumerations, and more. These files are stored in a standard binary format. A type library can be a stand-alone file with the .tlb file name extension, or it can be stored as a resource in an executable file, which can have an .ocx, .dll, or .exe file name extension. The type library viewers and conversion tools described following read this format to gain information about the COM elements in the library.
Before you can program an object in a particular programming language, you must be able to view its type library in that language. Doing this provides you with the proper syntax for the classes, interfaces, methods, properties, and events of the COM object.
Microsoft development products provide the following tools that you can use to generate, extract, and view type library information.
C++
Visual Basic
Java
For an overview of how these tools interact with type libraries, see How Developer Tools Use Type Libraries.