Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Start process on another computer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00836059
Message ID:
00836649
Vues:
24
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform