Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call a class in a program in another Foxpro exe
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00966698
Message ID:
00967143
Vues:
12
Hi John

I use classes in other exes all the time, but tend to do the following, which can be called as a program:
* CreateTestObject.prg

Procedure CreateTestObject
Local loTemp
loTemp = CreateObject("cusTest")
Return loTemp
EndProc
Define Class cusTest As Custom && (or cusbase of cusBase.fxp, etc.)

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

Click here to load this message in the networking platform