/MIDL (Specify MIDL Command Line Options)
Specifies a response file for MIDL command line options
Syntax
/MIDL:@file
Arguments
file
The name of the file that contains MIDL command line options.
Remarks
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
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > Linker > Embedded IDL property page.
Modify the MIDL Commands property.
To set this linker option programmatically
- See MidlCommandFile.
See also
MSVC linker reference
MSVC Linker Options
/IDLOUT (Name MIDL Output Files)
/IGNOREIDL (Don't Process Attributes into MIDL)
/TLBOUT (Name .TLB File)
Building an Attributed Program
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho