[sldev] How to get rid of the console window?
alexander treptow
alexander.treptow at zweitgeist.com
Tue Dec 4 00:14:56 PST 2007
Maybe this helps you. This part of code is in the main function in
viewer.cpp next to line 1635
// pop up debug console if necessary
#if LL_WINDOWS
if (gUseConsole && gSavedSettings.getBOOL("ShowConsoleWindow"))
{
create_console();
}
#endif
gUseConsole is initialy set next to line 548.
But you can also use the precompiler to edit this to:
#if LL_WINDOWS && RELEASE_FOR_DOWNLOAD
if (gUseConsole && gSavedSettings.getBOOL("ShowConsoleWindow"))
{
create_console();
}
#endif
this should only show the console window for release no opt
greets,
Alex
More information about the SLDev
mailing list