Qbasicnews.com

Full Version: Window App Only - No Console Window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi There,

if you are using/wanting a window application only, Is there a OPTION GUI or OPTION NO CONSOLE I can use?

I could use FreeConsole() at the beginning of my code, but its ugly!! (not fast enough in hiding the console window).

Regards

John
sorry....forgot to add that this is a FreeBasic question.

Thanks
Just compile using -s gui.

I'd suggest you to keep the console while you are developing, as a CTRL+C when the console is focused will terminate your program. Once you finish, you can get rid of the console.
Keeping the console open is a good way of debugging too, if you need to watch a variable then just spatter in some print commands and maybe a #define debug and #ifdef debug and viola you have some basic debugging.