Board index » delphi » Delphi 2 - Run DOS App, find out when done
Apogee Information Systems
![]() Delphi Developer |
Mon, 07 Sep 1998 03:00:00 GMT
|
Apogee Information Systems
![]() Delphi Developer |
Mon, 07 Sep 1998 03:00:00 GMT
Delphi 2 - Run DOS App, find out when doneQuoteKatman wrote: help for both. Dana Scott Kaufman |
Katm
![]() Delphi Developer |
Tue, 08 Sep 1998 03:00:00 GMT
Re:Delphi 2 - Run DOS App, find out when doneI have a very simple problem... I just need to know how to run a DOS application and find out when it's finished... here's the actual set-up: I'm writing an installation program for internet software, for my university.. proghandle := winexec('PKUNZIP FILE C:\DIR', SW_MINIMIZED) (or something very similar... but, getmoduleusage was deleted because of the Can someone help? thanks in advance Terry Katz |
Tom W Wo
![]() Delphi Developer |
Tue, 08 Sep 1998 03:00:00 GMT
Re:Delphi 2 - Run DOS App, find out when doneIn article <3151E57E.6...@tiac.net>, apo...@tiac.net says... Quote
handle from the Process_Information structure, and pass it to GetExitCodeProcess. If the MsDos window is still open, the status word is 'STILL_ACTIVE'. After the window closes, it is 0. This allows you to simply poll the value. -- |
Brad Choa
![]() Delphi Developer |
Thu, 10 Sep 1998 03:00:00 GMT
Re:Delphi 2 - Run DOS App, find out when doneOn 22 Mar 1996 00:17:35 GMT, kat...@putwest.boces.org (Katman) wrote: Quote> I'm writing an installation program for internet software, for my university.. Here's a function I've modified to allow both Delphi 1 and 2 to You'll notice it does call CreateProcess. It's a little "wordy", I hope this helps-- ------------------------------------------------------------------- var begin with si do bStat := CreateProcess Brad Choate <cho...@cswnet.com> | http://www.cswnet.com/~choate |
1. Executing DOS apps and sending keystrokes to the app when running
2. Running DOS apps from Delphi 2.0?
3. Running a DOS app from Delphi 4 and closing it afterwards
4. Running DOS-app from Delphi-application
5. Running a dos program invisibly from delphi app?
6. Run DOS app and find out when its done?
8. Running a DLL routine from a DOS APP