Qbasicnews.com
Window App Only - No Console Window - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+--- Thread: Window App Only - No Console Window (/thread-5948.html)



Window App Only - No Console Window - yoingco - 02-06-2005

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


Window App Only - No Console Window - yoingco - 02-06-2005

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

Thanks


Window App Only - No Console Window - na_th_an - 02-06-2005

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.


Window App Only - No Console Window - undertow - 02-07-2005

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.