/oldtlb switch
The /oldtlb switch directs the MIDL compiler to generate an old-format type library.
midl /oldtlb
This switch has no parameters.
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.
midl /oldtlb filename.idl
midl /oldtlb myoldodl.odl