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

Click here to load this message in the networking platform