Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble when instantiating a class
Message
 
 
To
26/11/2001 17:42:06
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00586070
Message ID:
00586086
Views:
15
It looks like you didn't register your COM server. Do
REGSVR32 dll1.dll
REGSVR32 dll2.dll
>Hi,
>
>I have two DLLs (DLL1 and DLL2) each of which implement a class, let's name the classes CL1 and CL2. From the VFP IDE when class CL1 performs a
>
>
>...
>lotemp = CreateObject("DLL2.CL2", lcpjx, lcruta)
>...
>
>
>on its INIT method I get the following error message (I'm translating the message I get in spanish): OLE error code 0x80004005. Unspecified error. If I SET CLASSLIB TO appropiately and replace this line with
>
>
>...
>lotemp = CreateObject("CL2", lcpjx, lcruta)
>...
>
>
>the instantiation goes through without problems. Any ideas on the origin of this problem? Both DLLs are developed with VFP 6 SP 5.
>
>TIA,
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform