What are Windows console mode programs?
All 32-bit Windows applications are able to access the same resources. They are all able to open windows, message boxes and dialogs, and use all Win32 API functions. Win32 allows Windows applications to have a ‘console’, a text-based window similar to that provided to DOS applications. This console can be created using the AllocConsole function. Each application may have only one console open at any one time. By setting a flag in the executable file, Win32 will create a console at startup for the application. This is the only difference, from Win32’s point of view, between console and GUI applications. This flag is set by the Microsoft linker by specifying ‘/subsystem:console’ rather than ‘/subsystem:windows’. The program is still a Win32 application, and still has access to all Win32 facilities. It is not a DOS application – DOS is not involved anywhere. For compatibility’s sake, Win32 C/C++ compilers use different start-up functions for console and GUI applications. Console applicati
Related Questions
- How do I apply for multiple programs in the Government Deparment or a joint-degree program between the Government Department and another Center or Department at Georgetown?
- How can I obtain more information about Douglas College programs, course requirements and transfer information?
- Does MIT offer any part-time graduate programs?