How to register a proxy/stub DLL on the client?
-
hi! I have developed a DCOM component server with ATL but now, how can i registeter it on a client? Thanks in advance.
hi! I know yet how to register the DLL. If there is somebody with this problem this is a very little tuto: On the server machine 1.- register the server program: c:\> remoteServer -regserver where remoteServer is the name of the EXE server. 2.- register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll On the cliente machine 1.- Copy RemoteServerps.dll on the client machine 2.- Register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll ok, with these steps my DCOM application runs ok but i'm not sure if is this the best way to do the registration. Are there any other possibilities ? thank you in advance!!
-
hi! I know yet how to register the DLL. If there is somebody with this problem this is a very little tuto: On the server machine 1.- register the server program: c:\> remoteServer -regserver where remoteServer is the name of the EXE server. 2.- register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll On the cliente machine 1.- Copy RemoteServerps.dll on the client machine 2.- Register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll ok, with these steps my DCOM application runs ok but i'm not sure if is this the best way to do the registration. Are there any other possibilities ? thank you in advance!!
Hi 1.Register your component under the component services (MTS) 2.Use the export operation in order to create proxy\stub setup file 3.Install the file in the client machine