Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM/DCOM (Remote Automation)
Message
De
20/10/2000 00:32:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00431523
Message ID:
00431970
Vues:
8
>>>You are using the syntax for COM.
>>>If it is DCOM, you are supposed to call it with CREATEOBJECTEX() function
>>>with server name, using ClassId or ProgID:
>>
>>That's not entirely true. You can use a DCOM object with CREATEOBJECT as long as that object is set up on the client (via DCOMCNFG) to run on the server machine.
>
>Cool! However, I think it will be more clear what you are doing in code if you use the CREATEOBJECTEX function.

Well, the two functions really serve two different purposes. If you set up the object to run remotely via DCOMCNFG, you no longer have to hardcode the server machine name. It effectively ensure that _any_ time the object is invoked, it will be invoked on the right machine.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform