Re: Using ShellExecute
- From: Tom Backer Johnsen <backer@xxxxxxxxxxxx>
- Date: Fri, 02 Jun 2006 11:31:59 +0200
Pete Fraser wrote:
"Tom Backer Johnsen" <backer@xxxxxxxxxxxx> wrote in message news:447fef7b@xxxxxxxxxxxxxxxxxxxxxxxxxI 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).
Thanks for the tip. With the example I found the corresponding Object Pascal code on the net:
http://www.latiumsoftware.com/en/pascal/delphi-1.php
(Towards the end) Now, the next step is to get it working.
Tom
.
- Follow-Ups:
- Re: Using ShellExecute
- From: Marc Rohloff [TeamB]
- Re: Using ShellExecute
- From: Tom Backer Johnsen
- Re: Using ShellExecute
- References:
- Using ShellExecute
- From: Tom Backer Johnsen
- Re: Using ShellExecute
- From: Pete Fraser
- Using ShellExecute
- Prev by Date: Re: Generics + D2007/win32
- Next by Date: Borland Software announced plans to restructure the company
- Previous by thread: Re: Using ShellExecute
- Next by thread: Re: Using ShellExecute
- Index(es):
Relevant Pages
|
|