RAD Studio |  |

GenTLB.exe
See Also
Collapse All

A new type library generator (GenTLB.exe) has been added to RAD Studio. When you compile or build a project that contains a type library, the type library generator compiles the text-based RIDL file into the binary .tlb file.

You can use GenTLB.exe in your custom builds. If you use MSBuild from the command line, then MSBuild automatically uses GenTLB.exe.

Examples

To create AppName.tlb from the contents of AppName.ridl:

Copy Code

    C:\> gentlb  AppName.ridl

To create a type library based on a differently named .ridl file, use the -T option to specify the name of the type library. To create AppName.tlb from the contents of model.ridl:

Copy Code

    C:\> gentlb -TAppName.tlb  model.ridl

See Also

Type Library Editor

RIDL File

Object List Pane

Toolbar

Pages of Type Information

Using the COM Wizards

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!