I can’t understand this error, really. Please help me with it. The code is :
m_pIServer = new IDeviceServer(this);
and declarations is :
class IDeviceServer : public IOPCServer
{
public:
IDeviceServer( LPUNKNOWN );
...
IDeviceServer *m_pIServer;
What means : a value of type “IDeviceServer *” cannot be assigned to an entity of type “IDeviceServer *” ? I can’t understand it.
Usually occurs when you have redefined the class in a generic class/method and pass in an object of the old class.