Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With/Endwith performance gain.
Message
 
À
20/12/2000 15:07:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00455430
Message ID:
00455906
Vues:
45
>>From your example, the COM server is registered locally because you are using the ProgID to create it.
>
>Right, but I didn't have to. I could have used the CLSID, and specified the machine in the second parameter (that was left empty in my example).


I am beginning to make the habit of putting the COM object's resident machine name in a variable (even if its the local PC) and always using
CreateObjectEX() instead of CreateObject(). Before I really get used to doing this, can you think of a reason why it might be a bad idea?

Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform