Re: [Mingw-w64-public] dwrite.h error: duplicate member 'GetFontCollection'

2014-12-21 Thread Jack Andrews
Hi Jon, Martin, On 20 December 2014 at 12:09, JonY wrote: > Hi, > > Sorry about the delay, but after looking at it, these are overloaded > methods. It works perfectly in C++ but not in C, there is no simple way > to fix this. I was thinking about this a little deeper. COM is meant to be a binar

Re: [Mingw-w64-public] dwrite.h error: duplicate member 'GetFontCollection'

2014-12-19 Thread Martin Mitáš
Dne 19. 12. 2014 v 10:20 Jack Andrews napsal(a): > Thank you for mingw-w64. > > I am writing a DLL extension in C (not C++) and I came across a problem when > I write test.c as: > > $cat test.c > #include > > compiling the above causes an error. > (shortened) > > In the first error, the p

Re: [Mingw-w64-public] dwrite.h error: duplicate member 'GetFontCollection'

2014-12-19 Thread JonY
On 12/19/2014 17:20, Jack Andrews wrote: > Thank you for mingw-w64. > > I am writing a DLL extension in C (not C++) and I came across a problem > when I write test.c as: > > $cat test.c > #include > > compiling the above causes an error. > Hi, Sorry about the delay, but after looking at it

[Mingw-w64-public] dwrite.h error: duplicate member 'GetFontCollection'

2014-12-19 Thread Jack Andrews
Thank you for mingw-w64. I am writing a DLL extension in C (not C++) and I came across a problem when I write test.c as: $cat test.c #include compiling the above causes an error. An easy way to reproduce this error is to not bother with the test.c file and run (in msys): $ echo |gcc -xc -in