Using ShellExecute
- From: Tom Backer Johnsen <backer@xxxxxxxxxxxx>
- Date: Fri, 02 Jun 2006 09:57:36 +0200
I am using ShellExecute to start a batch program, where the call on the program contains filenames for the input (a set of commands) and the output file. After the call, I want to process the output file. Evidently, my program (written in D7) goes on with its own operations without waiting for anything, with the result that the output file is empty right after the call on ShellExecute. The operations in the batch program may vary in respect to time, sometimes quite lengthy (actually, it is a statistical system called R, very nice).
Now, is there some way of checking if the batch program is finished so I can delay my program until the batch program is finished? Some API call using the handle perhaps?
Tom
.
- Follow-Ups:
- Re: Using ShellExecute
- From: K. Sallee
- Re: Using ShellExecute
- From: Pete Fraser
- Re: Using ShellExecute
- Prev by Date: Re: Generics + D2007/win32
- Next by Date: Re: RCS/CVS recommendations?
- Previous by thread: Any more Gmail invitations?
- Next by thread: Re: Using ShellExecute
- Index(es):
Relevant Pages
|
|