GetActiveObject / GetIDsOfNames returns E_NOIMPL
I have created ATL composite control residing in a dll.
In the OnInitDialog I call RegisterActiveObject method
to register object in the ROT.
I want to connect to my running object from another application
and call its methods (exposed in IDispatch based interface).
I have acquired reference to the IDispatch interface of the running
object by calling GetActiveObject function. However subsequent GetIDsOfNames
call fails with E_NOIMPL error code (0x80004001 - Not implemented.)
If I create a new object with CoCreateInstance GetIDsOfNames works OK.
Any help would be greatly appreciated.
Pawel