[sldev] How to get rid of the console window?

Tobias Lang tlang303 at gmail.com
Tue Dec 4 06:24:25 PST 2007


Great! That's explains it!
Thanks.

On Dec 4, 2007 3:14 AM, alexander treptow <alexander.treptow at zweitgeist.com>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071204/d5b12d87/attachment.htm


More information about the SLDev mailing list