Thread: deleting running .exe

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    37

    Question deleting running .exe

    hi!

    i want my exe file to save itselfe with the contents of a textfield added at the end.
    for a beginner like me it was hard work to make this working. but i got it done.
    no i have the problem that the prog cannot overwrite itselfe while the file is still running. i think windows wont let me:-(
    what can i do?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    copyFile the running exe to a temp .exe, then do the changes to that, then copy it back.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 12-09-2008, 11:09 AM
  2. Running the application (.exe) files on other PCs
    By csonx_p in forum Windows Programming
    Replies: 11
    Last Post: 06-11-2008, 09:31 PM
  3. Problems running compiled .exe on other machines.
    By Troels Leth in forum C++ Programming
    Replies: 39
    Last Post: 05-09-2008, 05:30 AM
  4. multithreading question
    By ichijoji in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2005, 10:59 PM
  5. change running .exe
    By wesentlich in forum Windows Programming
    Replies: 31
    Last Post: 11-02-2003, 01:05 AM