Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating COM object
Message
 
To
07/01/2000 08:00:33
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00314058
Message ID:
00314528
Views:
30
That's what I found (except in my case this GUID has its default value set to "Component Categories Manager" and the InprocServer32 points to Comcat.dll) but how do other applications build an object out of this info? VB does it.

>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")
Previous
Reply
Map
View

Click here to load this message in the networking platform