Share via


/ < system > switch

/ < system >參數會指示 MIDL 編譯器為指定的系統產生型別程式庫。 預設值為目前的作業系統。

midl /{win32 | ia64 | amd64}

切換選項

win32

Windows 2000、Windows XP、Windows Vista、Windows 7

ia64

Intel 型 64 位 Windows 環境,例如 Windows 2000、Windows Server 2003、Windows XP Professional x64 Edition、Windows Vista 或 Windows 7。

amd64

以美國微裝置為基礎的 64 位 Windows 環境,例如 Windows 2000、Windows Server 2003、Windows XP Professional x64 Edition、Windows Vista 或 Windows 7。

備註

/ < system >參數的功能與 MIDL /env選項相同,而且 MIDL 編譯器只會辨識成與 MkTypLib 的回溯相容性。 如果您要產生新的 makefile,請使用 /env 參數。

範例

midl /win32 filename.idl

另請參閱

一般 MIDL 命令列語法

/Env