The MIDL property pages are available as an item property on an .IDL file in a C++ project that uses COM. Use them to configure the MIDL Compiler. For information on how to programmatically access MIDL options for C++ projects, see VCMidlTool object. See also General MIDL Command-line Syntax.
General Property Page
Preprocessor Definitions
Specifies one or more defines, including MIDL macros (/D)[macros]).
Additional Include Directories
Specifies one or more directories to add to the include path (/I[path]).
Additional Metadata Directories
Specify the directory containing the Windows.Foundation.WinMD file (/metadata_dir [path]).
Enable Windows Runtime
Enable Windows Runtime semantics to create Windows metadata file (/winrt).
Ignore Standard Include Path
Ignore the current and the INCLUDE directories (/no_def_idir).
MkTypLib Compatible
Forces compatibility with mktyplib.exe version 2.03 (/mktyplib203).
Warning Level
Selects the strictness of the MIDL code errors (/W).
Choices
1
1
2
3
4
Treat Warnings as Errors
Enables MIDL to treat all warnings as errors (/WX).
Suppress Startup Banner
Suppress the display of the startup banner and information message (/nologo).
C Compiler Char Type
Specifies the default character type of the C compiler that will be used to compile the generated code. (/char signed|unsigned|ascii7).
Choices
Signed - Signed
Unsigned - Unsigned
Ascii - Ascii
Target Environment
Specifies which environment to target (/env arm32|win32|ia64|x64).
Choices
Not Set - Win32
Microsoft Windows 32-bit - Win32
Microsoft Windows 64-bit on Itanium - IA64
Microsoft Windows ARM - ARM
Microsoft Windows ARM64 - ARM64
Microsoft Windows 64-bit on x64 - X64
Generate Stubless Proxies
Generate fully interpreted stubs with extensions and stubless proxies for object interfaces (/Oicf, /Oif ).
Windows developers have various options for creating applications that run on Windows. This module introduces the native Windows UI frameworks that are available for Windows development. It also provides guidance on how to choose the best framework for your application.