MIDL2311
The documentation lists this name without a value.
Documented in Win32
statements outside library block are illegal in mktyplib compatibility mode You may need to specify the /mktyplib203 command-line switch when you compile your IDL file. Note: The Mktyplib.exe tool is obsolete. Use the MIDL compiler instead.