The attached program demonstrates how to create a console and write to/read from it. Also demonstrated is how to get/set properties such as the window title.
When compiled, Visual Basic 5/6 applications that use a console, are considered to be GUI applications and are treated as such. To solve this, use the linker as follows:
path of Visual Basic\Link.exe /EDIT /SUBSYSTEM:CONSOLE executable
When compiled, Visual Basic 5/6 applications that use a console, are considered to be GUI applications and are treated as such. To solve this, use the linker as follows:
path of Visual Basic\Link.exe /EDIT /SUBSYSTEM:CONSOLE executable