Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble when instantiating a class
Message
De
26/11/2001 17:42:06
Fausto Garcia
Independent Developer
Lima, Pérou
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Trouble when instantiating a class
Divers
Thread ID:
00586070
Message ID:
00586070
Vues:
53
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform