Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executable using the wrong compiled prg
Message
De
25/06/2005 08:32:28
 
 
À
24/06/2005 15:12:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01026416
Message ID:
01026507
Vues:
17
>The exe will produce the correct result if I called using the shell command. However, If I called inside the foxpro environment using the do exe1.exe ... then the result of the exe2 always come from the exe1.

If identically named functions / program files exist in different App/Exe files there can be trouble. AFAIR it manifests before climbing up the program stack - the search order in FPW was more "logical" and this is one of the biggest headaches proting old versions if for instance there is a template pattern consisting of equally named functions for sub-screens. Worst case I encountered was an app with more than 1000 methods with the same name: highest name count was 72, and more than 400 function names given only twice.

Thie problem is described in the vfp6 help somewhere - a warning not to use function names twice. Follow it - less headaches <bg>. Still I think this is about the only case I actually prefer FPW to VFP.

regards

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

Click here to load this message in the networking platform