Author Topic: C::B/mingw don't create console nor window subsystem  (Read 13747 times)

Offline lopidas

  • Single posting newcomer
  • *
  • Posts: 3
C::B/mingw don't create console nor window subsystem
« on: May 25, 2013, 03:09:09 pm »
Dev c++ had this option as Project Options->Compiler->Linker->Do not create console window
How can I do this in C::B. Which linker option should I use? I think it will be some Xlinker style option.

Some additional info: I use nostartlibs and s options becouse I am trying to find out how are things like argument pushing, function calls and ++ -- operators done in EXE. I decompress them in 7z. If you have some materials about this it will really help me.
« Last Edit: May 25, 2013, 03:18:04 pm by lopidas »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: C::B/mingw don't create console nor window subsystem
« Reply #1 on: May 25, 2013, 08:16:39 pm »
I don't understand your question, but check Project->Properties->Build Targets->Type.
Here you can set the type of your application.

Offline lopidas

  • Single posting newcomer
  • *
  • Posts: 3
Re: C::B/mingw don't create console nor window subsystem
« Reply #2 on: May 26, 2013, 06:38:54 pm »
native app doesn't work

Offline lopidas

  • Single posting newcomer
  • *
  • Posts: 3
Re: C::B/mingw don't create console nor window subsystem
« Reply #3 on: May 26, 2013, 06:48:16 pm »
It is mwindows option.

Offline demone

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: C::B/mingw don't create console nor window subsystem
« Reply #4 on: June 01, 2013, 01:19:51 pm »
Type: ConsoleApplication ==> show console
Type: GUI Application ==> does not show console

simple

it is not native application

If you want more control (like showing up a console window at run-time) you then need OS-specific libraries, or cross-platform libraries like NCURSES
« Last Edit: June 01, 2013, 01:44:54 pm by demone »
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570