Automatic update check in MFC?

  • Thread starter sweetjones
  • Start date
  • #1
44
0

Main Question or Discussion Point

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!!!
 

Answers and Replies

  • #2
mgb_phys
Science Advisor
Homework Helper
7,774
12
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
 

Related Threads for: Automatic update check in MFC?

Replies
6
Views
14K
Replies
6
Views
8K
Replies
1
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
3K
Replies
1
Views
469
Replies
2
Views
2K
Top