Programming an updating feature
-
Hello there, I am relativly new to C++ and am currently programming for windows in Visual C++. What I want to know is this: I created a program in which a user enters commands and these commands are compared to functions stored in a seperate .cpp file. This file is in the same folder as the executable but is not part of the solution. Is there a way for the user to enter a command such as 'update' and the program will seek an updated version of the command file and download it from a specified server? i can get everything to work, but I do not know even where to begin will this update feature. ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader
-
Hello there, I am relativly new to C++ and am currently programming for windows in Visual C++. What I want to know is this: I created a program in which a user enters commands and these commands are compared to functions stored in a seperate .cpp file. This file is in the same folder as the executable but is not part of the solution. Is there a way for the user to enter a command such as 'update' and the program will seek an updated version of the command file and download it from a specified server? i can get everything to work, but I do not know even where to begin will this update feature. ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader
Do some form of HHTP reuest against your server to see if a 'newer' file exists. Then download the new file as 'text' so it can pass through HTTP and the firewall, then replace your old command file with the new one.
-
Do some form of HHTP reuest against your server to see if a 'newer' file exists. Then download the new file as 'text' so it can pass through HTTP and the firewall, then replace your old command file with the new one.
Thank you ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader