Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Start process on another computer
Message
 
 
To
08/10/2003 23:36:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00836059
Message ID:
00836649
Views:
25
>Doesn't CreateObjectEX create an object that is registered on another computer but do it locally???
>I am trying to do it the other way around.

No, CreateObjectEX() can create your object on any computer where it is registered - these would have to be COM objects in EXE's (out of process) and not DLL's (in process). The second argument is the cComputerName. Using TaskMgr.Exe on the target PC, you can watch your Exe appearing and disappearing in the Process list as you create and release your instance. From the online help:

cComputerName
Specifies the remote computer on which the COM object is instantiated.
If cComputerName is the empty string, the COM object is instantiated on the local computer or a redirected machine as specified in the registry. Use Clireg32.exe or Racmgr32.exe to redirect the local machine to another machine through the registry.

cComputerName supports UNC (Universal Naming Convention) names such as "\\myserver" and "myserver," and DNS (Domain Name System) names such as "myserver.com," "www.microsoft.com," and "207.68.137.56."
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform