Re: [Mingw-w64-public] Using midl/widl with MinGW

2020-05-02 Thread Biswapriyo Nath
Looking at the errors, it seems that the code is missing some include headers. For example, IUnknown_QueryInterface_Proxy is in unknwnbase.h and IRpcStubBufferVtbl is in objidlbase.h.Try to add `import "unknwn.idl";` in the IDL file that you want to compile. If you have a simple, minimal, reproduci

[Mingw-w64-public] Using midl/widl with MinGW

2020-05-02 Thread Björn Schäpers | MIMOT GmbH
Hi, I'm trying to migrate our software to mingw and we have multiple (D)COM interfaces in use. Right now we use official midl, make some modifications to the generated files, and compile it with Embarcaderos Compilers (the classic Borland one, and the newer Clang based one). For mingw I use ms