Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Close console, only process  (Read 1379 times)

0 Members and 1 Guest are viewing this topic.

Sebox

  • Newbie
  • *
  • Posts: 24
    • View Profile
Close console, only process
« 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.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Close console, only process
« Reply #1 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.