Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top