Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
External VCX not find
Message
De
24/12/2009 14:01:42
 
 
À
23/12/2009 08:26:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01440314
Message ID:
01440574
Vues:
164
As far as I know, you need to have an external copy of the VCX. Files contained within EXEs (or APPs) are visible within the context of the EXE or APP, but not outside of the EXE (or APP) -- meaning that an SCX outside of the EXE can't see the VCX inside the EXE. I haven't checked to see if CREATEOBJECT() would work outside of an EXE where the class being accessed is defined in a VCX contained within the EXE. I do know however that classes defined programmatically with DEFINE CLASS in PRGs compiled into an EXE *are* available outside EXE -- as long as the class definition exists in a PRG context within the call stack or is made available through SET PROCEDURE.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform