Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATEOBJECTEX()
Message
De
02/08/2000 16:16:37
 
 
À
02/08/2000 15:44:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00400003
Message ID:
00400044
Vues:
16
>createobjectex is used with out-of-proc. sevrers (exe). Use createobject

That's not entirely accurate. CREATEOBJECTEX is used to instantiate a server that physically resides on another machine (DCOM). Usually this means that the remote server needs to a be an exe, but this is not always the case (an in-proc server can be configured to use a surrogate process like MTS or dllhost). CREATEOBJECTEX can bypass the registry CLSID lookup and instanciate a server on a remote box even when that same server is configured to run locally.

You can also use CREATEOBJECT to start a server on another machine, but with CREATEOBJECT, you can only pass a ProgID, and that ProgID must be configured in the registry to start a process on a remote machine.

Mark- did you get your CLSID from the remote machine, or your own?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform