Re: How to get rid of command prompt under windows os



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]