Try this link :-
http://www.developmentor.com/devresources/ResourceDetail.aspx?wp=4
As to books, there are many good (and bad) at various levels.
Try these :- Inside DCOM (G Eddon, and H Eddon), Essential COM (Don Box).
You are correct in your assertion, IUnknown interface pointers returned from a server object are REQUIRED to be equal. In fact this is the ONLY valid way for a client to test for pointers to the same object.
However, it is the responsibility of the object itself to implement...
I am assuming that you client side is a a COM object or has access to one, which supports the ICallback interface.
If that is so then I think the problem might be with the following line of code :-
ICallback * callBack = new ICallback();
I don't think you can instantiate your ICallback...
I do not know what platform you are developing on, but thre is a new interface defined in COM+ under Win 2K. The "IStream" interface seems to provide this type of functionality.
See the MSDN for more details.
Hope this helps
I have developed several COM servers in C++ with this sort of requirement. I don't know if this will be applicable to you but here goes..
In a C++ COM server application one of the tasks whick you must do during initialization of the server object is to call CoRegisterClassObject (See MSDN for...
This message will normally only be returned when accessing an object which implements IMarshall and which has for some reason been shutdown. The error code is actually returned from the proxy and not from the object.
As to the reasons for the object being shutdown, I'm afraid I can't begin to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.