General information
Category:
Coding, syntax & commands
>What I meant was, that instead of starting the exe directly (as the user typically does by double click on the shortcut), you can start the exe from any VFP Command window typing DO MyVFPExe.Exe. Then it starts the program as usual, but VERSION(2) will indicate that you are running in developer mode.
>
>So any person can run your program as developer if that is what you are looking at.
>
>Probably safest way would be to create a constant or public variable that you switch during compiling the release executable.
>
public variable could be changed in the debugger available if running the code from development IDE. Safer IMO is the approach to have a program, which is responsible for compiling to exe, which in advance switches compiler constants or the files included housing those constants.
regards
thomas
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only