How do you handle a \"cannot instantiate abstract class\" error in C++? I have looked at some of the similar errors here and none of them seem to be exactly the same or prob
In my case i declared a function in COM Control .idl file like
.idl
[id(1)] HRESULT MyMethod([in]INT param);
but not declared in my interface .h file like this
.h
STDMETHOD(MyMethod)(INT param);
Problem solved by adding above line into my interface .h file
this might help some one .