/oldtlb switch

The /oldtlb switch directs the MIDL compiler to generate an old-format type library.

midl /oldtlb

Switch Options

This switch has no parameters.

Remarks

The /oldtlb switch overrides the default and directs the MIDL compiler to generate old-format type libraries even on current versions of Windows by using CreateTypeLib instead of CreateTypeLib2.

Examples

midl /oldtlb filename.idl

midl /oldtlb myoldodl.odl

See also

General MIDL Command-line Syntax

/newtlb