   Starting a program from a C++ program
  I am working on the Auto-patcher/Splash screen for my game. Now I am thinking that it should be a program by it's self in case the client.exe needs to be updated as well. How would I go about starting the client once the autopatcher has finished patching everything?   
  On windows you can use ShellExecute to run another program:;  Or in case that seems to be too high-level: CreateProcess().   ;  A portable way to do this would be to use boost.process. Check it out: http://www.highscore.de/boost/process/   ;Original post by EmpireProductionsNow I am thinking that it should be a program by it's self in case the client.exe needs to be updated as well.quote]What are your plans if the updater needs to be updated?;  Start another updater, close the otherone, update the first updater, start the first again, close the second one.=)   ;  Raknet comes with a example of what to do when that happens. I haven't had a look at it yet though. But I guess it restarts the patcher.   