/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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for