I am defining a new interface and a class that implements it. I have added my class(XXX) and interface(IXXX) in idl file (I generated two uuids). My interface has two simple methods. I have implemented them( files XXX.h and XXX.cpp). I included the following line in InprocServer.cpp.
UNKNOWN_OBJECT(XXX)
I am getting the following error: Error C2259 'XXX': cannot instantiate abstract class (compiling source file InprocServer.cpp) clicking on error takes me to the following line in
Unknown.h
try
{
**p = new T(pUnkOuter); // refcount is already 1**
if (!p)
return E_OUTOFMEMORY;
}
How do I know which method is not implemented?