"interface not compatible"
-
hi, what is the meaning of the error "interface not compatible" returned by HRESULT? In the client I include the server header file which contains the definition of the remote interface. So, it must be the same interface. Thanks!!!
hello, i think i know what is the problem: I also need a proxy/stub DLL. So, I need to register the proxy/stub DLL on both the client and the server computers. To regisrer the DLL on the server i have done: nmake -f Projectnameps.mk where projectname is the name of my project. This command has built several files, included the Projectname.dll file. Now the problem is that i dont know very well how to register the DLL on the client. I have tried two differents things: 1.- Set up the remote activation using progammatic changes to the client (call CoCreateInstanceEx()instead CoCreateInstance()(),...).But it doesn't run. 2.- Follow the instructions of this article http://www.apostate.com/programming/reg-atl-dcom.html but i dont understand very well the last step: "Use DCOMCNFG to change the execution location of your server from Run application on this computer to Run application on the following computer", and this way to register the DLL sounds a bit rare, doesn´t it?. I am confused... Can you help me? thanks.