/TLBOUT:[path\]filename
where:
Remarks
/TLBOUT specifies the name and extention 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.
Setting Linker Options | Linker Options | FAQ: Building Your Program | /IGNOREIDL | /MIDL | Building an Attributed Program