Re: How to get rid of command prompt under windows os
- From: Armin Burgmeier <armin arbur net>
- To: gk23 <gastoncocce hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: How to get rid of command prompt under windows os
- Date: Wed, 28 Jul 2010 15:12:12 +0200
If you use g++, compile with -mwindows. If you use MSVC, choose the
Win32 subsystem in the Linker settings in the Project properties (if I
remember correctly).
Armin
On Tue, 2010-07-27 at 19:44 -0700, gk23 wrote:
> If I compile and execute the folowing program under windows allways appears
> the command prompt windows, and I don't like it.
>
> #include <gtkmm.h>
> int main(int argc, char *argv[])
> {
> Gtk::Main kit(argc, argv);
>
> Gtk::Window window;
>
> Gtk::Main::run(window);
>
> return 0;
> }
>
> I wonder if it is possible for a gtkmm application running under windows os
> to get rid of the command prompt windows.
>
> hopes somebody can enlighten me
>
> Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]