Strange behavior

John C johnch_atms at hotmail.com
Tue Mar 25 06:43:45 PDT 2008


yvad Wrote:

> QueryInterface of type HRESULTWindows (GUID * riidriid, out void* ppvObject ppvObject) overrides but is not covariant with QueryInterface of type HRESULT(GUID * riidriid, void* ppvObject ppvObject) 

I'm surprised that's the error you get. Copying your code (and filling in the blanks) I instead get an error about an undefined symbol. You need to mark QueryInterface in AbstractUnknown as abstract.


More information about the Digitalmars-d-learn mailing list