SFML community forums

Help => Window => Topic started by: Sebox on September 27, 2014, 11:45:41 am

Title: Close console, only process
Post by: Sebox on September 27, 2014, 11:45:41 am
Hello

I would like to know that application can be only see in process, no console no window, only in process ??

Thanks in advance for your answers.
Title: Re: Close console, only process
Post by: Ixrec on September 27, 2014, 12:07:10 pm
There should never be a regular window unless you explicitly create one, so that's easy.

Assuming you're on Windows, I know Visual Studio has a setting somewhere that lets you decide whether to build a console application or a regular windows application, and it might have defaulted to console.  A quick google gets me this:
Quote
Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.

Click the Linker folder.

Click the System property page.

Modify the SubSystem property.

Console (/SUBSYSTEM:CONSOLE)
So that should get rid of the console window.

If you're on some other OS or IDE, please provide more details.