Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating COM object
Message
De
07/01/2000 08:00:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00314058
Message ID:
00314410
Vues:
23
Then you don't have a complete COM object. COM works through ProgIDs as far as VFP is concerned- no ProgID, no COM. FWIW, looking up your GUID in my registry points to OLE32.dll, not comcat.dll, and there is not a complete normal COM entry there.

>Hi Erik,
>
>There's no ProgID with this GUID. I tried creating the object using the GUID with CREATEOBJECTEX. It resulted in an error wich said the class was not registered.
>
>>>Hi All,
>>>
>>>I'd like to create a COM object. It is the Component Categories Manager. The CLSID is {0002E005-0000-0000-C000-000000000046}. It is a component from comcat.dll.
>>>
>>
>>To instanciate a COM object in VFP, you'll need to know its ProgID. You can search in the registry using the GUID that you have, and find the ProgID (in the format Server.Class. ONce you have that, you can create it using
>>
>>oCOM = CREATEOBJECT("Server.Class")
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform