CUpgradeApplication is a C++ class that can check a remote web server and detect
if the version on the server is newer than the one running. If that is the case then
the class will download the newer version and upgrade the older version. Oh and this
version does not need MFC. Which is a good thing!
What Do I Get With This?
Huh? See the above section. That is what you get!
But You Said Two Lines Of Code!?! (AKA: How Can I Use It?)
It's as simple as this:
CUpgradeApplication * UpgradeApp = new CUpgradeApplication;
UpgradeApp->UpgradeViaWeb ("My Application",
The myapp_version.dat would contain something like this:
---- Start Of File ----
---- End Of File ----
The system is very simple and self-explanatory so have a quick look through at the source to get an indepth understanding!
Ok - That's Simple Enough; Anything Else
This is the usual nonsense - should you want to use it!
- EMail me for permission to use/include (always given). I just want to know what purpose it is
being used for. It is provided completely for "Non-Commercial Usage."
- Include the files in your C++ project.
Iain Chesworth graduated from Heriot-Watt University in June of 2002 in Computer Science and Physics. He now works as a C++ programmer and plays with code in his spare time. He is also a keen cyclist and swimmer.