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:
00455906
Views:
44
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform