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:
00455975
Vues:
42
>>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).
>
>

IMHO, using ProgId with the DCOM type library registered locally gives you better performance, because then all the DCOM interface information will be retrieved locally. If the type library is not on the client PC, the client has to use the type library on the server, which is slower because needs the trip to server and back. The disadvantage here is that if the DCOM interface changes we have to re-register the type library on the client, however we don't have to do this if the new version of DCOM has only updated code and the same interface.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform