/MIDL (Specify MIDL Command Line Options)

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

/MIDL:@file  

where:

file
The name of the file that that contains MIDL command line options.

All options for the conversion of an IDL file to a TLB file must be given in file; MIDL command-line options cannot be specified on the linker's command line. If /MIDL is not specified, the MIDL compiler will be invoked with only the IDL file name and no other options.

The file should contain one MIDL command-line option per line.

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 MIDL Commands property.

To set this linker option programmatically

Setting Linker Options
Linker Options
/IDLOUT (Name MIDL Output Files)
/IGNOREIDL (Don't Process Attributes into MIDL)
/TLBOUT (Name .TLB File)
Building an Attributed Program

Show: