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:
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:
C:\> gentlb -TAppName.tlb model.ridl
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|