Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executable using the wrong compiled prg
Message
From
25/06/2005 08:32:28
 
 
To
24/06/2005 15:12:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01026416
Message ID:
01026507
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform