Home > Back-end >  Delphi urgent urgent
Delphi urgent urgent

Time:09-18

Delphi how to develop a detection software version, and then from the server to download the application of small procedures, action, and Delphi beginners,

CodePudding user response:

How to still beginners Delphi? The language I can't

Server: add an XML file, which documents the latest version of each file, file name, file path, description, etc.;
Client: in the main program, in addition to write a program dedicated to update, the main program starts, will start to update the program also,

To update the program to do the following things:
1 from the server (typically a WEB server) to download the XML file, compare the version in the XML file and the landlord version of the program;
2 if there is a new version, pop-up prompt window, please the user to select whether to update;
3 from the server according to the file name tag in the XML file, download the file path to a local temporary directory;
4 if the main program exe files need to be replaced, then forced to stop the main program, download the update file from the temporary directory to the correct directory, restart the main program, the update is complete,

CodePudding user response:

I practice, mainly purpose is to update the client program,
1, on the server, the latest client file copies into the specified directory,
2, on the client side. Write a program that south gate update file:
3, the city from the server to download the updated file name (a dozen), each with a local file, comparing, no download, file than the old server files, and download,
4, download end, calls the main program,

CodePudding user response:

How to do if you want to change database structure is main?
  • Related