Closing a *.EXE file within a Delphi project (revisited)
From: Carl Gross (cfgross_at_scapca.org)
Date: 12/30/03
- Next message: Rudy Velthuis (TeamB): "Re: Year 2004"
- Previous message: Jim Miller: "Want to load .ini file depending on XP login."
- Next in thread: Andrew Bent: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Reply: Andrew Bent: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Reply: Eric Hill: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 10:49:36 -0800
I have opened a seperate program from within a Delphi application using the
ShellOpenFile(Self.Handle, 'Application.exe','','C:\Program
Files\AppFolder\');
command. In order to close the EXE file, I use the following command:
PostMessage(FindWindow(nil, 'C:\Program
Files\AppFolder\Application.exe'), WM_QUIT, 0, 0);
This, however closes the Delphi App and leaves the Application.EXE file open
and active. Is there another way of handling (no pun intended) this
problem?
- Next message: Rudy Velthuis (TeamB): "Re: Year 2004"
- Previous message: Jim Miller: "Want to load .ini file depending on XP login."
- Next in thread: Andrew Bent: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Reply: Andrew Bent: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Reply: Eric Hill: "Re: Closing a *.EXE file within a Delphi project (revisited)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|