I have two types of libraries with COM interfaces that I wrote using ATL and Microsoft's IDL. I want to get the interface from one interface to another in a library.
Basically, I want to do the same thing as described by Steven. The only person, who responded to him, did not understand the question.
This is what I want to do, in code:
some library DLL / TLB
ISEmail interface.IDL
Interface ISM Interface: IDISPH {...}; SomeLibrary.idl
import "ISomeInterface.idl"; Library Some Library {Interface ISIM Interface; }; some other Liberty DLL / TLB
isooiointerress.idl
// what I put here so that MIDL Compiler knows what to do when the ISomeInterface type is encountered? Interface ISOMOper Interface: ISM interface {...}; some overlays.idl
import "isoffinder interface. idl"; Library SomeOtherLibrary {Interface ISOM Aparaphaph; }; The MIDL command works only when importing IDL files, and I have only one DLL and TLB I can not use it because it only works within a definition The middle compiler does not understand Microsoft's C ++, and attributes.
What to do?
If you are ready to present a manual step, you can open the TLB in the OLVV and A generated .IDL file can be received in such a way. Oleview.exe lives in bin der of Windows SDK, e.g.
C: \ Program Files \ Microsoft SDK \ Windows \ v6.0A \ bin \ oleview.exe
Comments
Post a Comment