Hey Brandon,
> in include/objidl.h, line 1008... #define INTERFACE
> IGlobalInterfaceTable
>
> 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
1046 DECLARE_INTERFACE_(IGlobalInterfaceTable,IUnknown)
1047 {
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;
1051 =BB=B7=B7=B7STDMETHOD(RegisterInterfaceInGlobal)(THIS_
IUnknown*,REFIID,DWORD*) PURE;
1052 =BB=B7=B7=B7STDMETHOD(RevokeInterfaceFromGlobal)(THIS_ DWORD) PURE;
1053 =BB=B7=B7=B7STDMETHOD(GetInterfaceFromGlobal)(THIS_ DWORD,REFIID,vo=
id**) PURE;
1054 };
Does this cover the problem you encountered?
Chris
--
Chris Sutcliffe
http://ir0nh34d.blogspot.com
http://emergedesktop.org
|