Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on an help viewer kinda app that is developed and maintained using ATL/ WTL library. The application uses some help content in form of XHTML pages that is installed separately in the system independent of the help viewer itself. Now we are planning to put the content on some server, besides providing it with the help viewer itself, so that the content can be updated time to time and the user gets the updated content whenever he launches the help viewer.

Now my question is if there is a mechanism using which I can make the help viewer do the following.

1. Check the content on the server if it is updated recently. If yes, then notify the user to update the content installed in the user system.

2. If the user permits then silently download the content installer and install the content and relaunch the help viewer with the updated content.

Do I need to use any web services in this or can it be implemented using ATL?WTL APIs. How should I approach ?

Thanks
Posted

1 solution

An easy way is using URLDownloadToFile.

At the first step download an info-file into the Temp and check for the update and proceed if an update is available.

Dont ferget to delete the downloaded files after you are done. ;-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900