문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top