saveable "exe" file? - Forum

Forum Navigation
You need to log in to create posts and topics.

saveable "exe" file?

hello guys , plz help , how can i made a saveable "exe" file ? (at neobook 5)

after i run the exe file , if i change some values i want that changes going  to be saved , can enyone help me any template or something ..

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @hector68.  You can't modify an exe file on runtime. You should use external files or  a database to save and retrieve data.
Regards.

hector68 has reacted to this post.
hector68

@hector68

Describe in detail what you want to achieve. I don't think I quite understand what you're talking about.

hector68 has reacted to this post.
hector68

hi @luishp , thank you , that was not my point, my english is bad im srry , also i don't know any C++

hi @vadim , im try to make a simple exe file , look like a small game , but i need a save button! or when i'm close the app its save all changes automatically .

Uploaded files:
  • You need to login to have access to uploads.

@hector68

If you need to save the current values of variables so that you can restore them the next time you run the application, use the SaveVariables and LoadVariables commands.
You can learn more about them here:
https://winhelp.visualneo.com/Variables1.html

I hope this is what you were looking for.

josevdr95 has reacted to this post.
josevdr95

@hector68

Hola, si la mejor forma y más fácil es utilizando SaveVariables y LoadVariables hay otros métodos como los archivos ini y el registro de Windows. Te dejo un pequeño ejemplo usando SaveVariables y LoadVariables.

Saludos

Uploaded files:
  • You need to login to have access to uploads.