/notlb switch
The /notlb switch prevents the MIDL compiler from generating a type library (TLB) file.
midl /notlb
This switch has no parameters.
By default, the MIDL compiler will generate a TLB file whenever it encounters a LIBRARY statement. This switch overrides the default behavior.
When the /notlb option is specified, all other stubs, headers, etc. are generated as usual.