Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build with one .prg with the source
Message
From
04/02/2022 14:39:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683436
Message ID:
01683452
Views:
80
>Hi,
>
>When I build the .exe of my application, I usually do not include the source code. But I have one .PRG that seem to have a problem with a lot of customers. And I can't seem to find which line causes the problem.
>
>So, is it possible to include just one .PRG in the .EXE so that the error will show the line number of the error?
>
>TIA

In addition to the other suggestion, you may look into the SYS(2450) - Application Search Path Order option. You could then provide the source code for the troublesome code to the user and then the source code version should be executed instead of that in the App. The source code file may need to be excluded in the project. There should be no need to build the App with the debug info On. After the problem is resolved, reinclude the file in the project, and remove the source code from the user's machine.

Hope it helps, Greg
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform