Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Objects in a COM objec
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00795463
Message ID:
00795814
Vues:
23
Do you've classlib included into DLL? Did you try to reference this classlib w/o path just by name?
LPARAMETERS oContainer, cName
sClassLib = "cr_actx.vcx"
oContainer.NewObject(cName, "crControl", sClassLib)
>I'm adding a control to a container inside a DLL
>at runtime. The container is passed in, and the
>object is added to it.
>
>It was working, but I did something to mess it up.
>
>If the VCX with the object is in the same folder
>as my test, it works.
>
>When I build the DLL and run from another location,
>I get a classlib not found error.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform