some unimplemented COM stuff
ovehk at ping.uio.no
Tue May 29 20:33:06 CDT 2001
On Wed, 30 May 2001, Malte Starostik wrote:
> On Mittwoch, 30. Mai 2001 00:39, Ove Kaaven wrote:
> > On Mon, 28 May 2001, Malte Starostik wrote:
> > > unfortunately g++ doesn't support specifying a calling convention for
> > > method pointers like HRESULT (IDispatch::*setProp)(BSTR).
> > Since when? The construct HRESULT CALLBACK (*stuff)(...) is used all over
> > the Wine headers, so I'd think someone would have noticed if g++ didn't
> > support it...
> HRESULT CALLBACK (*stuff)(...)
> works indeed. I only tried
> HRESULT CALLBACK (IFooBar::*stuff)(...)
> which yields:
> warning: `stdcall' attribute directive ignored
> and results in stack corruption then I ignore this warning.
Can you explain why you do this, then? I can't imagine why you would want
to declare a method pointer like this.
More information about the wine-devel