You must be registered to post a reply.Click here to register.
class Blah { STDMETHOD(GetSwapCount)(int* swap_count) const; }; Create imp yields: STDMETHODIMP Blah::GetSwapCount(int* swap_count) //<----- missing const { return S_OK; }