Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Stopping console window opening (Win32)

This thread is locked; no one can reply to it. rss feed Print
Stopping console window opening (Win32)
nshade
Member #4,372
February 2004

So I'm almost done with porting my game to Allegro and I no longer need to have the console (DOS) window open when the game starts. (I'll be moving console output to a log file). In visual Studio 2015, how to you stop the console window opening when you run an allegro program.

Related question. Can I get rid of the application close "x" in the upper right corner of the window of the main application? (I don't use it anyway.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Neil Roy
Member #2,229
April 2002
avatar

For my own games, using Code::Blocks and MinGW, I compile my games in debug mode using the console, so I have debug output. And I compile it in Windows mode for release version which doesn't have a console window.

---
“I love you too.” - last words of Wanda Roy

Go to: