C,

Sorry. Picked up on this post late..... If you are looking to embed a DOS
console or something then you can:

1. Look at the current implementation for GXExplorer. It uses a class called
TRedirector with threads to manipulate the stdin, stdout, stderr file
handles. Rather simple to use.
2. Check out the following components
http://www.pana.com/robert/Dcomp.html
http://www.embeddedinnovations.com/
3. I am about to preview a DOS prompt component for GXE that actually embeds
a DOS window and does not make use of stdin etc.

Let me know if you need more info......

------------------------------------------------------------------------
--Donovan [[EMAIL PROTECTED]]
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer [www.namsys.com.au]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
Heard just before the 'Big Bang': "...Uh Oh...."
------------------------------------------------------------------------
GXExplorer [http://www.gxexplorer.org] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
------------------------------------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Corey Murtagh
Sent: Sunday, 29 October 2000 16:23
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Access to Standard Input in a non console app


Neven MacEwan wrote:
>
> 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

The gui console functions are for creating a new console, which
unfortunately won't help with getting data piped in from the commandline.  I
haven't found a use for those console functions yet... but no doubt there is
one :)

The point I was trying to get across in the last post was that because
Windows uses a totally different paradigm it doesn't allocate input and
output handles for a GUI program, so you can't just pipe from the
commandline like you could in dos.  Probably the easiest thing to do is give
command-line options for reading data from a file.

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