Solution:
Use the following procedure to use a DCOM component from ATEasy:
1. Register the server application on the server computer (usually by running it)
2. Run the component setup to register the server component on the client computer
3. Run Component Services Windows application (Start, Run, dcomcnfg.exe) on the server computer and select the application from the Component Services, My Computer, DCOM Config and set the security to allow remote computer to access the component
4. Run Component Services Windows application (Start, Run, dcomcnfg.exe) on the client computer and select the application from the Component Services, My Computer, DCOM Config and set the application computer location
5. From ATEasy use CreateObjec() or GetObject() internal functions to create the remote objects as creating local object Note: Since ATEasy version 6.0, CreateObject() has a new optional parameter (sHostName) that can be used (in addition to the method described here) to create remote objects.
|