How to Implement Automatic Update Checks in MFC Applications?

  • Thread starter Thread starter sweetjones
  • Start date Start date
  • Tags Tags
    Automatic
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 5K views
sweetjones
Messages
44
Reaction score
0
I have a dialog-based application in MFC, and I was wondering what class or component do I need to implement in the app to check for new updates? For example, on start-up have the app check for a new update from a designated website. I am using VSC++2005. Let me know if you need more info or a better clarification on what I'm talking about. Thanks In Advance!
 
Physics news on Phys.org
Easiest way is to make an anonymous ftp connection to your site and download a simple file called eg 'latest.txt' and check the version number inside it.

Ftp is faily easy to implement from MFC see CInternetSession and CFtpConnection