Skip to content

Latest commit

 

History

History
83 lines (69 loc) · 2.59 KB

tlbout-name-dot-tlb-file.md

File metadata and controls

83 lines (69 loc) · 2.59 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager translation.priority.ht
-TLBOUT (Name .TLB File) | Microsoft Docs
11/04/2016
visual-studio-dev14
devlang-cpp
article
VC.Project.VCLinkerTool.TypeLibraryFile
/tlbout
C++
tlb files, renaming
TLBOUT linker option
/TLBOUT linker option
.tlb files, renaming
-TLBOUT linker option
0df6d078-2e48-46c9-a1a5-02674d85dce8
8
corob-msft
corob
ghogen
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

/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 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

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.

  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 xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.TypeLibraryFile%2A.

See Also

Setting Linker Options
Linker Options
/IGNOREIDL (Don't Process Attributes into MIDL)
/MIDL (Specify MIDL Command Line Options)
Building an Attributed Program