>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