Information générale
Catégorie:
Codage, syntaxe et commandes
>Is there a way to do a live update of a VFP application using the Internet. I have seen this done in Norton Utilities and Norton Antivirus and also Turbo Tax.
The easiest way is to launch a second application that simply sits and waits for the second to shut down.
Without getting into dll hacks ... just sit the second app in a loop trying to
replace the exe. once it suceeds then it can relaunch the main application.
Launch this app from your main app and then close down the main app ...
>>>>>>>>>>>>
If you want to be a bit more elegant you could also use winapi calls to query the OS for running versions instead of just looping trying to do a copy.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement