Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble when instantiating a class
Message
From
26/11/2001 17:42:06
Fausto Garcia
Independent Developer
Lima, Peru
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Trouble when instantiating a class
Miscellaneous
Thread ID:
00586070
Message ID:
00586070
Views:
52
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,
Solo se que nada se

Fausto J. Garcia Pino - MCSD.NET
.NET, Oracle, Tronador & Fondismo!
Next
Reply
Map
View

Click here to load this message in the networking platform