> in include/objidl.h, line 1008... #define INTERFACE
> It needs to have an #undef INTERFACE attached to it. I found this
> when i ported the Wine DX7/8/9 stuff to MinGW last night. You'll
> notice every other "DECLARE_INTERFACE_*" section has the #undef
> INTERFACE following it except that one. Without it, one gets
> warnings about INTERFACE being defined multiple times.
Looking at the include/objidl.h in sourceware's CVS, I see the following:
1043 EXTERN_C const IID IID_IGlobalInterfaceTable;
1044 #undef INTERFACE
1045 #define INTERFACE IGlobalInterfaceTable
1048 =BB=B7=B7=B7STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
1049 =BB=B7=B7=B7STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1050 =BB=B7=B7=B7STDMETHOD_(ULONG,Release)(THIS) PURE;
1052 =BB=B7=B7=B7STDMETHOD(RevokeInterfaceFromGlobal)(THIS_ DWORD) PURE;
1053 =BB=B7=B7=B7STDMETHOD(GetInterfaceFromGlobal)(THIS_ DWORD,REFIID,vo=
Does this cover the problem you encountered?