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

Click here to load this message in the networking platform