Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading an .APP file from a VFP COM object
Message
De
16/03/2011 22:05:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01503828
Message ID:
01503936
Vues:
106
>
>SET PROCEDURE TO wcdemo.app ADDITIVE
>DO wconnect
>oHttp = CREATEOBJECT("wwHttp")  && PRG class works
>oBus = CREATEOBJECT("wwBusiness")   && VCX fails: Can't find ..\classes\wwbusiness.vcx
>
>
>So it does seem to load procedure files but fails to load VCX classes (which is REALLY odd since SET CLASSIB tends to be automatic inside of .APP files.
>

But the createobject is callled from outside. Either add a 1Liner to wcDemo for automatic set classlib to use as factory, Set classlib explicitly or use Newobject().

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform