Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the CLSID from a given DLL?
Message
 
To
29/09/2005 21:07:15
James Chan
Objectmastery Pty Ltd
Hawthorn, Australia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01054733
Message ID:
01054855
Views:
35
This message has been marked as a message which has helped to the initial question of the thread.
>I want to start a COM from a given DLL? However, to use CreateObject() or CreateObjectEx(), I need to know the CLSID of the DLL. How can I find the CLSID at run time?
>
>Thanks in advance

James,

You can look it up in the registry. For example, assuming you have a COM object with the PROGID MyCom.Server, you'll find the CLSID in HKEY_CLASSES_ROOT\MyCom.Server\CLSID.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform