No type definitions in pre-defined IDL FILE
问题 Firstly, Using plain C++, without ATL, MFC attempting to use COM Object interface. Using oleview (OLE/COM Object viewer) - used to engineer the IDL code. At this stage, using MIDL Compiler, now I'm having trouble trying to produce the following: Syntax on cmd line: midl /nologo /env win32 /tlb ".\S8_.tlb" /h ".\S8_.h" /iid ".\S8_i.c" S8.idl A corresponding .TLB (Type Library) A .H (header) An IID definitions include file (*_i.c) A proxy (*_p.c) MIDL compiler error: S8.IDL(513) : error