Re: Removing console window on Windows
- From: Mark Roberts <gtkmm manumark de>
- To: Галымжан Кожаев <kozhayev gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Removing console window on Windows
- Date: Tue, 22 Sep 2009 10:45:11 +0200 (CEST)
Dear Галымжан Кожаев,
when I start the program the black console window appears. [...] Is
there any way to remove this window? [...] I compile it using MinGW
[...]
You need to specify the -mwindows option to the linker. The opposite is
-mconsole, which is the default for MinGW. See for instance:
http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/i386-and-x86_002d64-Windows-Options.html
That page of the gcc manual is important for multi-threading also, because
the default setting for MinGW is not to expect multi-threading.
Mark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]