/TLBOUT (Name .TLB File)
Visual Studio 2010
/TLBOUT:[path\]filename
The /TLBOUT option specifies the name and extension of the .tlb file.
The MIDL compiler is called by the Visual C++ linker when linking projects that have the module attribute.
If /TLBOUT is not specified, the .tlb file will get its name from /IDLOUT filename. If /IDLOUT is not specified, the .tlb file will be called vc70.tlb.
To set this linker option in the Visual Studio development environment
-
Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
-
Click the Linker folder.
-
Click the Embedded IDL property page.
-
Modify the Type Library property.
To set this linker option programmatically
-
See TypeLibraryFile.