Mail Archives: cygwin/1998/06/13/03:45:23
Gunther Ebert wrote:
> I need to obtain information of the console output
> of a third-party program. For example, I need to
> determine the size of the console screen buffer
> and I also need to read lines from the output
> of the third-party program which is of course
> running in a different process space than my
> one.
If you're able to start your program in the same console, your problem is
solved. GetConsoleScreenBufferInfo() returns the size of console buffer,
ReadConsoleOutput() gives you an access to the buffer contents.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -