Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With/Endwith performance gain.
Message
 
To
20/12/2000 15:07:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00455430
Message ID:
00455975
Views:
41
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform