Re: Close application for update
From: J French (erewhon_at_nowhere.com)
Date: 03/09/04
- Next message: pluton: "EXE get smaller and died :)"
- Previous message: Boondime: "Privilidged Instruction - Whats that?"
- In reply to: J French: "Re: Close application for update"
- Next in thread: Bruce Roberts: "Re: Close application for update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 9 Mar 2004 11:05:18 +0000 (UTC)
On Tue, 9 Mar 2004 08:12:11 +0000 (UTC), erewhon@nowhere.com (J
French) wrote:
>On Mon, 8 Mar 2004 13:08:17 -0500, "Christian Charest"
><ccharest@mtq.gouv.qc.ca> wrote:
>
>>I am programming an Update module : i download and extract all the files
>>necessary in a folder MJ in the root of the application but in order to
>>replace the main exe i need to close it first. I tried to execute a batch
>>file then close the App, copy the files and open it again in the batch file
>>but it doesn't work. Now i am building an other app that would kill the Main
>>process, copy the file and then reopen the main process but i don't know how
>>to kill a specifique process using delphi. If you have any idea plz help me!
Alternatively find its Window Handle and send it a WM_CLOSE
or a WM_SYSCOMMAND with SC_CLOSE
- Next message: pluton: "EXE get smaller and died :)"
- Previous message: Boondime: "Privilidged Instruction - Whats that?"
- In reply to: J French: "Re: Close application for update"
- Next in thread: Bruce Roberts: "Re: Close application for update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|