Neven MacEwan wrote:
>
> Nello
>
> Thanks - but why can't a graphical app take standard input?
It's the way windows works. Under DOS there was a well-defined set of input
and output streams which could be redirected from/to files. With Windows
there's no such definition... where would stdin read from by default? Where
would stdout/stderr write to? It's assumed that GUI apps are going to
handle their own input and output with a minimum of help from the OS.
The best solution I can offer is to have a console app which launches your
program and uses pipes or something similar to route stdin to it.
--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"