INFO: Preventing the Console Window from Disappearing (99115)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.1
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows XP
This article was previously published under Q99115 SUMMARY
When a console application is started either from the File Manager, the
Program Manager, Windows NT Explorer, or by typing start <progname> from
the command prompt, it executes in its own console. This console disappears
as soon as the application terminates, and therefore the user can't read
anything written to the screen between the last pause and program exit.
There are two approaches to keep the console window from disappearing.
Modification Type: | Major | Last Reviewed: | 4/13/2004 |
---|
Keywords: | kbConsole kbinfo kbKernBase kbProgramming KB99115 |
---|
|