/TLBOUT (Name .TLB File)

 

The latest version of this topic can be found at -TLBOUT (Name .TLB File).

TLBOUT:[path]filename

  
## Remarks  
 where:  
  
 *path*  
 An absolute or relative path specification for where the .tlb file should be created.  
  
 *filename*  
 Specifies the name of the .tlb file created by the MIDL compiler. No file extension is assumed; specify *filename*.tlb if you want a .tlb extension.  
  
## Remarks  
 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](../Topic/module%20\(C++\).md) attribute.  
  
 If /TLBOUT is not specified, the .tlb file will get its name from [/IDLOUT](../Topic/-IDLOUT%20\(Name%20MIDL%20Output%20Files\).md) *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  
  
1.  Open the project's **Property Pages** dialog box. For details, see [Setting Visual C++ Project Properties](../Topic/Working%20with%20Project%20Properties.md).  
  
2.  Click the **Linker** folder.  
  
3.  Click the **Embedded IDL** property page.  
  
4.  Modify the **Type Library** property.  
  
### To set this linker option programmatically  
  
1.  See [TypeLibraryFile](assetId:///P:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.TypeLibraryFile?qualifyHint=False&autoUpgrade=True).  
  
## See Also  
 [Setting Linker Options](../Topic/Setting%20Linker%20Options.md)   
 [Linker Options](../Topic/Linker%20Options.md)   
 [/IGNOREIDL (Don't Process Attributes into MIDL)](../Topic/-IGNOREIDL%20\(Don't%20Process%20Attributes%20into%20MIDL\).md)   
 [/MIDL (Specify MIDL Command Line Options)](../Topic/-MIDL%20\(Specify%20MIDL%20Command%20Line%20Options\).md)   
 [Building an Attributed Program](../Topic/Building%20an%20Attributed%20Program.md)