/tlb switch

The /tlb switch specifies a file name for the type library generated by the MIDL compiler.

midl /tlb filename

Switch Options


Specifies the name of the output type library (TLB) file. By default, if the /tlb switch is not used, the TLB file has the same name as the IDL file, with the extension .TLB.


midl /tlb newname.tlb

See also

General MIDL Command-line Syntax