|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Removing the DOS consoleI have something very strange happening in one of my programs in WinXP,
After compiling the program I ran it, but a DOS console windows appears with the old.... press to continue... How do I get rid of this annoyance? Thanks in advance -- ___ _____ _____ _____ _ _____ __ _ _____ / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____| / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__ / / | | | _ / | _ { | | | | | | | | | | | |\ | | __| / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___ /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____| ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleArbolOne wrote:
> I have something very strange happening in one of my programs in WinXP, > After compiling the program I ran it, but a DOS console windows appears > with the old.... press to continue... > How do I get rid of this annoyance? > > Thanks in advance > use -mwindows http://live.gnome.org/GTK+/Win32/Apps -- jonner _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleThanks Jonathon, is that supposed to be in the linker or the compiler
command? Jonathon Jongsma wrote: > ArbolOne wrote: > >> I have something very strange happening in one of my programs in WinXP, >> After compiling the program I ran it, but a DOS console windows appears >> with the old.... press to continue... >> How do I get rid of this annoyance? >> >> Thanks in advance >> >> > > use -mwindows > > http://live.gnome.org/GTK+/Win32/Apps > > -- ___ _____ _____ _____ _ _____ __ _ _____ / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____| / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__ / / | | | _ / | _ { | | | | | | | | | | | |\ | | __| / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___ /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____| ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. "O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.” _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleArbolOne wrote:
> Thanks Jonathon, is that supposed to be in the linker or the compiler > command? > > Jonathon Jongsma wrote: >> ArbolOne wrote: >> >>> I have something very strange happening in one of my programs in WinXP, >>> After compiling the program I ran it, but a DOS console windows appears >>> with the old.... press to continue... >>> How do I get rid of this annoyance? >>> >>> Thanks in advance >>> >>> >> >> use -mwindows >> >> http://live.gnome.org/GTK+/Win32/Apps >> >> > I'm afraid I have no idea since I don't develop on windows. I just know that the question has been asked many, many times, so i have the -mwindows option memorized. You'll have to do some investigation on your own, I think. -- jonner _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleAddendum
~~~~~~~~~ Jonanthon, I am using Code::Blocks and in the linker and the compiler parameters' box I added the parameter you suggested, but it has not change anything?! This must be a problem with the IDE and not the compiler, I hope! What is your input on this? Jonathon Jongsma wrote: > ArbolOne wrote: > >> I have something very strange happening in one of my programs in WinXP, >> After compiling the program I ran it, but a DOS console windows appears >> with the old.... press to continue... >> How do I get rid of this annoyance? >> >> Thanks in advance >> >> > > use -mwindows > > http://live.gnome.org/GTK+/Win32/Apps > > -- ___ _____ _____ _____ _ _____ __ _ _____ / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____| / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__ / / | | | _ / | _ { | | | | | | | | | | | |\ | | __| / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___ /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____| ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. "O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.” _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleArbolOne wrote:
> Addendum > ~~~~~~~~~ > > Jonanthon, I am using Code::Blocks and in the linker and the compiler > parameters' box I added the parameter you suggested, but it has not > change anything?! > This must be a problem with the IDE and not the compiler, I hope! > What is your input on this? > > Jonathon Jongsma wrote: >> ArbolOne wrote: >> >>> I have something very strange happening in one of my programs in WinXP, >>> After compiling the program I ran it, but a DOS console windows appears >>> with the old.... press to continue... >>> How do I get rid of this annoyance? >>> >>> Thanks in advance >>> >>> >> >> use -mwindows >> >> http://live.gnome.org/GTK+/Win32/Apps As I already mentioned, I do not develop on windows and have no idea about your IDE. You'll probably just have to wait for somebody else who knows something about windows or try to solve it on your own. -- jonner _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleDo you tried to execute the program without IDE?
2009/10/28 ArbolOne <arbolone@...> Addendum -- Evite spam use o campo Cco http://emailfalso.blogspot.com/2009/04/voce-sabe-o-que-e-cco.html _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleArbolOne wrote:
> Thanks Jonathon, is that supposed to be in the linker or the compiler > command? > > Jonathon Jongsma wrote: >> ArbolOne wrote: >> >>> I have something very strange happening in one of my programs in WinXP, >>> After compiling the program I ran it, but a DOS console windows appears >>> with the old.... press to continue... >>> How do I get rid of this annoyance? >>> >>> Thanks in advance >>> >>> >> >> use -mwindows >> >> http://live.gnome.org/GTK+/Win32/Apps >> >> > I use Visual Studio and I will tell you how I enable and disable the dos console window. So you can compare with your IDE options: In my project property I go to Linker -> System options page, here I have a field called SubSystem: To enable I put: Console (/SUBSYSTEM:CONSOLE) To Disable I put: Windows (/SUBSYSTEM:WINDOWS) This is the best I can do for you, Filipe Apóstolo _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS consoleHello,
If I'm not mistaken, the C::B shows console when you build the project in Debug mode. The Release version should work well. Thanks, Vest On 10/28/2009 8:07 AM, ArbolOne wrote: > Addendum > ~~~~~~~~~ > > Jonanthon, I am using Code::Blocks and in the linker and the compiler > parameters' box I added the parameter you suggested, but it has not > change anything?! > This must be a problem with the IDE and not the compiler, I hope! > What is your input on this? > > Jonathon Jongsma wrote: >> ArbolOne wrote: >>> I have something very strange happening in one of my programs in WinXP, >>> After compiling the program I ran it, but a DOS console windows appears >>> with the old.... press to continue... >>> How do I get rid of this annoyance? >>> >>> Thanks in advance >>> >> >> use -mwindows >> >> http://live.gnome.org/GTK+/Win32/Apps >> > _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS console-mwindows is a gcc option that tells to create Win GUI application. As
I know, it has been deprecated, but I'm not sure. http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/i386-and-x86_002d64-Windows-Options.html#i386-and-x86_002d64-Windows-Options. Also, try searching in `gcc -v --help` output, it will be helpful too. 2009/10/28, Vlad Volodin <vest.84@...>: > Hello, > > If I'm not mistaken, the C::B shows console when you build the project > in Debug mode. The Release version should work well. > > Thanks, > Vest > > On 10/28/2009 8:07 AM, ArbolOne wrote: >> Addendum >> ~~~~~~~~~ >> >> Jonanthon, I am using Code::Blocks and in the linker and the compiler >> parameters' box I added the parameter you suggested, but it has not >> change anything?! >> This must be a problem with the IDE and not the compiler, I hope! >> What is your input on this? >> >> Jonathon Jongsma wrote: >>> ArbolOne wrote: >>>> I have something very strange happening in one of my programs in WinXP, >>>> After compiling the program I ran it, but a DOS console windows appears >>>> with the old.... press to continue... >>>> How do I get rid of this annoyance? >>>> >>>> Thanks in advance >>>> >>> >>> use -mwindows >>> >>> http://live.gnome.org/GTK+/Win32/Apps >>> >> > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@... > http://mail.gnome.org/mailman/listinfo/gtkmm-list > gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Removing the DOS console>This must be a problem with the IDE and not the compiler, I hope!
>What is your input on this? Hi Jamiil, As others have said, this is a feature of Windows. A PE binary with subsystem "console" is different from one with subsystem "windows". I use Code::Blocks on both Linux and Windows. I have had this problem in the past, but happily there is a quick solution, at least in Code::Blocks version 8.02. 1. Go to Project Management (the treeview on the left) and find the problem project. Find the line with the Code::Blocks icon. It's probably called "MyProject" or something. Now right click the text or the icon on that line. 2. Go to "Properties". Note: *not* "Build Options". 3. Click the second tab, "Build targets". 4. For each build target (select on the left), change the "Type" option to "GUI application". 5. Click "ok". Now build and run the project. You shouldn't see any console window at all. HtH, Adam J Richardson |
|
|
Re: Removing the DOS consoleHey big guy!
Superb! That was the right way to solve this problem. Thanks! thanks ssssoooooo much!!! Fatman_UK wrote: >> This must be a problem with the IDE and not the compiler, I hope! >> What is your input on this? >> > > Hi Jamiil, > > As others have said, this is a feature of Windows. A PE binary with > subsystem "console" is different from one with subsystem "windows". > > I use Code::Blocks on both Linux and Windows. I have had this problem in the > past, but happily there is a quick solution, at least in Code::Blocks > version 8.02. > > 1. Go to Project Management (the treeview on the left) and find the problem > project. Find the line with the Code::Blocks icon. It's probably called > "MyProject" or something. Now right click the text or the icon on that line. > 2. Go to "Properties". Note: *not* "Build Options". > 3. Click the second tab, "Build targets". > 4. For each build target (select on the left), change the "Type" option to > "GUI application". > 5. Click "ok". > > Now build and run the project. You shouldn't see any console window at all. > > HtH, > Adam J Richardson > > -- ___ _____ _____ _____ _ _____ __ _ _____ / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____| / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__ / / | | | _ / | _ { | | | | | | | | | | | |\ | | __| / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___ /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____| ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. "O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.” _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
| Free embeddable forum powered by Nabble | Forum Help |