Re: Communicate with Console window

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 01/18/05


Date: Mon, 17 Jan 2005 22:33:43 -0800

Hi Albert Ge,

> I have a GUI program, and I need the GUI program to launch a console
> window, then the GUI can send command to console window and get result
> from it.
>
> Anyone who can give me suggestion or idea will be highly appreciated.

CreateProcess with "STARTF_USESTDHANDLES" set in STARTUPINFO and
appropriate pipes in hStdInput, hStdOutput and hStdError.

-- 
Greetings
  Jochen
   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/


Relevant Pages

  • Re: Command Line Interface
    ... > Netbean's 'console window' which it uses for user input and output. ... > understand the problem is tho that Java is a interpretted language and I ... > GUI for them I wanted to impliment a streamed command line mode to edit them ... > in the apps GUI' instead of having to provide dialogs for all of them. ...
    (microsoft.public.vc.mfc)
  • Re: Comparing the contents of two discs?
    ... GUI versions of command line stuff, ... The job I want to do can be done from the command line; if that's a GUI ... BBC can do it, it probably isn't. ... it was just a suggestion. ...
    (uk.comp.sys.mac)
  • Re: Comparing the contents of two discs?
    ... GUI versions of command line stuff, ... The job I want to do can be done from the command line; if that's a GUI ... And I know it was just a suggestion - and you asked me about it, ... BBC can do it, it probably isn't. ...
    (uk.comp.sys.mac)
  • Re: Urgent ! place the Console Window inside the GUI
    ... > I am developing GUI application in tcltk, i want the console window to ... > be a part of my GUI, ... For a command line, I usually use the following for debugging: ... .con insert end ">" ...
    (comp.lang.tcl)
  • Re: Comparing the contents of two discs?
    ... GUI versions of command line stuff, ... BBC can do it, it probably isn't. ... it was just a suggestion. ...
    (uk.comp.sys.mac)