Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the CLSID from a given DLL?
Message
 
À
03/10/2005 22:11:07
James Chan
Objectmastery Pty Ltd
Hawthorn, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01054733
Message ID:
01056575
Vues:
21
If you know the ProgId then an easier way is:
o = CREATEOBJECT("wcDemo.wcDemoServer")
? COMCLASSINFO(o,4)
assuming the server is registered.

+++ Rick ---

>Thanks.
>
>>
>>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.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform