I'm not certain we are ever affected by the FreeConsole() call that was much debated
about a year ago, since we bypass it if we have the proper command line args. But
as an FYI to those interested [from the Microsoft Oct 2000 PSDK];
AllocConsole also sets up standard input, standard output, and standard error
handles for the new console. The standard input handle is a handle to the console's
input buffer, and the standard output and standard error handles are handles to the
console's screen buffer. To retrieve these handles, use the GetStdHandle function.
The obvious interaction is that our stdin/out/err handles are destroyed. Explains
several
odd artifacts reported over the course of the last year. Long live the FreeConsole
test :-(
Bill