Re: Communicate with Console window
From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 01/18/05
- Next message: Arkady Frenkel: "Re: Communicate with Console window"
- Previous message: Rhett Gong [MSFT]: "RE: Problem with a program launch from a CDROM when the CDROM is e"
- In reply to: Albert Ge: "Communicate with Console window"
- Next in thread: Arkady Frenkel: "Re: Communicate with Console window"
- Reply: Arkady Frenkel: "Re: Communicate with Console window"
- Reply: Albert Ge: "Re: Communicate with Console window"
- Messages sorted by: [ date ] [ thread ]
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/
- Next message: Arkady Frenkel: "Re: Communicate with Console window"
- Previous message: Rhett Gong [MSFT]: "RE: Problem with a program launch from a CDROM when the CDROM is e"
- In reply to: Albert Ge: "Communicate with Console window"
- Next in thread: Arkady Frenkel: "Re: Communicate with Console window"
- Reply: Arkady Frenkel: "Re: Communicate with Console window"
- Reply: Albert Ge: "Re: Communicate with Console window"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|