Cory

Found two interesting functions -- AllocConsole and FreeConsole on
Delphi3000
http://www.delphi3000.com/article.asp?id=568
Which open and Free the Console Window
Now I need to find how to hide the console window

Thanks
Neven

----- Original Message -----
From: Corey Murtagh <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Thursday, 26 October 2000 19:13
Subject: Re: [DUG]: Access to Standard Input in a non console app


> 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"
>

---------------------------------------------------------------------------
    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"

Reply via email to