Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top