Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Michael Torrie
On Mon, 2006-06-12 at 13:22 +1000, Justin Clift wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Torrie wrote: > > You can also change the executable type after the fact using the > > exetype.pl program found at > > http://www.devdaily.com/scw/perl/perl-5.8.5/win32/bin/exetype.

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Justin Clift
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Torrie wrote: > On Sun, 2006-06-11 at 22:49 +0300, Tor Lillqvist wrote: >> ... but you don't use it in the linking phase, which is when it is >> needed. > > You can also change the executable type after the fact using the > exetype.pl program

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Justin Clift
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan Baldo wrote: >Hello Justin. >AFAIK the .exe header has a flag that tells if a program is a console > or a windowed program, so I guess you should try to specify the > "-mwindows" flag on the linking process instead of the compiling one > b

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Justin Clift
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tor Lillqvist wrote: > Justin Clift writes: > > Seen lots of posts recommending using the "-mwindows" flag, > > Yes, that definitely is what you should do... > > > Invoking: GCC C Linker > > gcc -Lc:/MinGW/lib -Lc:/MinGW/libxml2-2.6.23.win32/lib >

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Michael Torrie
On Sun, 2006-06-11 at 22:49 +0300, Tor Lillqvist wrote: > ... but you don't use it in the linking phase, which is when it is > needed. You can also change the executable type after the fact using the exetype.pl program found at http://www.devdaily.com/scw/perl/perl-5.8.5/win32/bin/exetype.pl.shtml

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Ivan Baldo
Hello Justin. AFAIK the .exe header has a flag that tells if a program is a console or a windowed program, so I guess you should try to specify the "-mwindows" flag on the linking process instead of the compiling one because the linker is what generates the .exe file and has control over

Re: Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Tor Lillqvist
Justin Clift writes: > Seen lots of posts recommending using the "-mwindows" flag, Yes, that definitely is what you should do... > Invoking: GCC C Linker > gcc -Lc:/MinGW/lib -Lc:/MinGW/libxml2-2.6.23.win32/lib > - -Lc:/devel/target/stable/lib -Lc:/opt/gnuwin32/lib -oflame-edit.exe > /flame-

Can't seem to get rid of the console window (Windows port)

2006-06-11 Thread Justin Clift
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm porting my GTK application to Windows (MinGW with gcc), and am finding it impossible to get rid of the "DOS box" windows console that appears when the program is launched. Seen lots of posts recommending using the "-mwindows" flag, and o

[pango] How to draw underlined spaces

2006-06-11 Thread Francesco Montorsi
Hi all, I know this list is devoted to GTK but I couldn't find any pango-specific list so I'm sending this here... Rendering a PangoLayout through gdk_draw_layout(), which contains a string with leading and/or trailing spaces, with an underlined font results in text correctly underlined exc