Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

/TLBOUT (Name .TLB File)

/TLBOUT:[path\]filename

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

See TypeLibraryFile Property.

See Also

Setting Linker Options | Linker Options | /IGNOREIDL | /MIDL | Building an Attributed Program

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.