DCOM error: 0x8007006ba

The server I use is either NT4 or W2000.
When a connection is established, which is a succesfull return from CoCreateInstanceEx(), I call via the returned pointer to "MyObject" the pMyObject->QueryInterface() for the IID_IConnectionPointContainer interface and the
FindConnectionPoint(IID_IConnectionPointContainer,&pCP).
Until now everything seems to be good as the return code is SUCCEEDED and the pCP has a value.
Next, I call the
pCP->Advise(pMyConnectionPointObject->GetUnknown(), &m_dwCookie)
which returns the error RPC_S_SERVER_UNAVAILABLE.

If I call the directly the AtlAdvice() I have the same results!

Does anyone know what is going on?

Thank you in advance,

John Lagos
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories