|
From: Luke D. <cod...@ho...> - 2003-05-22 11:29:42
|
----- Original Message ----- From: "Earnie Boyd" <ear...@ya...> To: <pga...@at...> Cc: <min...@li...> Sent: Thursday, May 22, 2003 6:53 PM Subject: Re: [Mingw-users] -mwindows, with printf output to Console that I start the program?? > Paul G. wrote: [snip] > > Automatic output to both a window (message box) and to the Msys sh/console. > > > > Allows you to immediately output to the console (under Msys shell) and can be extended to include a full-blown > > Window as needed. What is critical is that the -mconsole switch is included when the app is compiled (in addition to > > the -mwindows switch). > > > > So, how critical are -mwindows and -mconsole? Since gdi32 isn't used in > your example, is it really a windows program? > > Earnie. No it isn't a GUI app, because -mconsole overrides the effect of -mwindows meaning that an application created this way would open a new console if you run it anywhere except from the command prompt (just like using -mconsole without -mwindows). Luke |