Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to activate OLE server ?
Message
De
28/02/2001 14:13:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00480113
Message ID:
00480654
Vues:
9
>You are right about those features of CREATEOBJECTEX() and that CREATEOBJECT() also can be used for DCOM. But if the goal is, clearly, to create a COM object on the remote computer, what advantages gives me using CREATEOBJECT() instead of CREATEOBJECTEX() which is especially designed for this purpose?

They are both for creating COM objects, the difference is that CREATEOBJECT() defers to the local registry to decide on what machine to run the object, CREATEOBJECTEX() uses the second parameter to decide. If you are using CliReg, you have already altered the registry to instruct the caller to instanciate the process on the remote box, so using CREATEOBJECTEX is redundant, and only confuses the matter, IMO.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform