Question

The problem is that I've a Windows executable (.exe) file, and I want its process to modify some values inside its image file while running, so the next time the program can continue execution from the point it stopped, what is the best way to do that?

Was it helpful?

Solution

Your application can use a file to store configuration and execution data. Open the file on program start to get initial values and modify the values in the file as they are modified in the program. This is certainly better than trying to modify the executable, if it's even possible.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top