Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Results from APP and EXE files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00080491
Message ID:
00080791
Views:
24
>Hi All,
>I have an application running as an EXE file. I have another application running which accesses the same data. This is an MIS module which generates reports for the executives. If I compile this MIS module as an APP file, its results match those of the main program. If I compile this MIS module as an EXE file, its results do not match the main program. The source code for some reports is exactly the same but the results differ. This happens regardless of the fact that both apps are running simultaneously, separately, from the same computer, or from different PCs on the network.
>This has me stumped. Is there any difference in compilation of the EXE and APP file? Am I doing anything wrong?
>
>Regards and TIA,
>Abdul Ahad

The difference between an APP file and an EXE is that the APP lacks the necessary header bytes to load on its own. BTW, You don't necessarily have to run an APP file from the command window. You can launch one from within any (of the appropriate version) FoxPro EXE. Be aware, however, that, as Steven said, it will inherit the configuration settings of the executable that started it.

George
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform