I have got a program which checks if there\'s a version update on the server. Now I have to do something like
if(update_avail) { system(\"updater.exe\");
Use CreateProcess(), it runs asynchronously. Then you would only have to ensure that updater.exe can write to the original EXE, which you can do by waiting or retrying until the original process has ended. (With a grace interval of course.)