![]() |
|
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
![]() |
http://lmgtfy.com/?q=hide+console+window+visual+studio+2013 First hit on Google : https://stackoverflow.com/questions/2139637/hide-console-of-windows-application As for getting rid of the close button, I could tell you but I won't. You should be catching ALLEGRO_EVENT_DISPLAY_CLOSE and closing your program accordingly. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Neil Roy
Member #2,229
April 2002
![]() |
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. --- |
|