编译COM类型库时出错:error MIDL2311 : statements outside library block are illegal in mktyplib compatability mode : [ ]
需要在project中将IDL文件的MIDL/mktyplib203选项去掉.
编译COM类型库时出错:error MIDL2311 : statements outside library block are illegal in mktyplib compatability mode : [ ]