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

2020-05-22 Thread Jacek Caban
Hi Björn, On 02.05.2020 09:42, Björn Schäpers | MIMOT GmbH wrote: Then I learned there is widl and tried that. But the generated files are no good to me: Error: wine/exception.h: No such file or directory As far as I can tell, there is no package within msys2 where I could get

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

2020-05-22 Thread Björn Schäpers | MIMOT GmbH
> -Ursprüngliche Nachricht- > Von: Björn Schäpers | MIMOT GmbH [mailto:bjoern.schaep...@mimot.de] > Gesendet: Dienstag, 5. Mai 2020 07:51 > An: mingw-w64-public@lists.sourceforge.net > Betreff: Re: [Mingw-w64-public] Using midl/widl with MinGW > > -Ursprüngliche

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

2020-05-04 Thread Björn Schäpers | MIMOT GmbH
-Ursprüngliche Nachricht- Von: Biswapriyo Nath [mailto:nathbap...@gmail.com] Gesendet: Samstag, 2. Mai 2020 10:47 An: mingw-w64-public@lists.sourceforge.net Betreff: Re: [Mingw-w64-public] Using midl/widl with MinGW Looking at the errors, it seems that the code is missing some include

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,

[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