/<system> switch
The /<system> switch directs the MIDL compiler to generate a type library for the specified system. The default is the current operating system.
midl /{win32 | ia64 | amd64}
Switch Options
-
win32
-
Windows 2000, Windows XP, Windows Vista, Windows 7
-
ia64
-
An Intel-based 64-bit Windows environment such as Windows 2000, Windows Server 2003, Windows XP Professional x64 Edition, Windows Vista, or Windows 7.
-
amd64
-
An American Micro Devices-based 64-bit Windows environment such as Windows 2000, Windows Server 2003, Windows XP Professional x64 Edition, Windows Vista, or Windows 7.
Remarks
The /<system> switch is functionally the same as the MIDL /env option and is recognized by the MIDL compiler solely for backward compatibility with MkTypLib. If you are generating a new makefile, use the /env switch.
Examples
midl /win32 filename.idl
See also