>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