/old

midl /old

Examples

midl /old filename.idl

midl /old myoldodl.odl

Remarks

The /old switch determines the format of MIDL-generated type libraries.

Effective with Windows NT 4.0, there is a new version of OLEAUT32.DLL that supports a richer format for 32-bit type libraries. MIDL looks for this DLL on the build machine; if the new version is present, MIDL generates a new-format type library. Otherwise, it generates an old-format type library. The /old switch overrides this default and directs the MIDL compiler to generate old-format type libraries even if the newer version of OLEAUT32.DLL is present.

See Also

General MIDL Command-line Syntax