Name
OpenConsole -- open console window (V10.0)
Synopsis
OpenConsole()
Platforms
Windows

Function
Windows distinguishes between non-console and console programs. That's why Hollywood can compile two different types of programs on Windows: Non-console programs and console programs. The difference between non-console programs and console programs is that console programs will automatically open a console when they are started whereas non-console programs won't do that. However, it's possible to manually open a console in non-console programs by calling this function.

On all other platforms there's no such distinction between console and non-console programs which is why this function is only supported on Windows and only if you use the non-console version of Hollywood.

To close the console opened by this function, simply call the CloseConsole() function.

Please also read the chapter on Hollywood and the console to learn more about using Hollywood in console mode. See Console mode for details.

Inputs
none


Show TOC