Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executable using the wrong compiled prg
Message
 
 
À
24/06/2005 15:03:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01026416
Message ID:
01026432
Vues:
22
>just wondering if anyone came across this problem:
>
>I have 2 projects that contain a prg with the same name but different in contents. When these proj. compiled to the exe version and called sequentially in foxpro environment, the second exe will actually execute the contents of the first prg instead of the one in exe2. So without changing the name of the prg, is there a way to get around this problem?

FoxPro caches everything. If you're calling both EXE with DO command than the program in question from exe1 would be cashed and used when exe2 is caled. You can try to issue CLEAR PROGRAM before calling exe2 but I'm not sure it'll help. Renaming ofending program is your best bet.
BTW, why are you creatin EXE if you're calling it as APP?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform