In the next update can you get rid of the console popup?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
vonbrune
Posts: 2
Joined: Wed Jul 02, 2008 1:29 am

In the next update can you get rid of the console popup?

Post by vonbrune »

Yeah that console pop up window is annoying...
torleif
Posts: 188
Joined: Mon Jun 30, 2008 4:53 am

Post by torleif »

...

I don't think that will happen

Use this (before main() ):

Code: Select all

// hide console when building release build
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
djzmo
Posts: 24
Joined: Sun Jul 20, 2008 3:20 pm
Location: Mercury

Post by djzmo »

replace

Code: Select all

#include <irrlicht.h>
with

Code: Select all

#include <irrlicht.h>
#ifdef _IRR_WINDOWS_
#include <windows.h>
#endif
then remove this line

Code: Select all

#pragma comment(lib, "Irrlicht.lib")
then replace

Code: Select all

int main()
with the code below

Code: Select all

#ifdef _WIN32
#pragma comment(lib, "Irrlicht.lib")
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main(int argc, char* argv[])
#endif
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

or u simply switch ur compiler flag from console to gui application....why is nobody doing that....well
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Re: In the next update can you get rid of the console popup?

Post by Virion »

vonbrune wrote:Yeah that console pop up window is annoying...
no the console window is pretty useful when developers want to see what's going right/wrong with their game.

I suggest you to do some research before complaining...

Image

p/s. this is code::blocks
Post Reply