Whether a console gets shown or not under windows depends on what subsystem it is using - console or windows. You should be able to set this as a compile time option.<div><br></div><div>You can also change the flag if you need to after a compile; I've done this for XULrunner to make it use a console under windows. The script I made is here (based on a perl script; perl comes by default with exetype which will allow changing this):</div>
<div><a href="http://code.google.com/p/bpbible/source/browse/branches/xul/scripts/consolize_exe.py">http://code.google.com/p/bpbible/source/browse/branches/xul/scripts/consolize_exe.py</a><br><div><br clear="all">God Bless,<br>
Ben<br>-------------------------------------------------------------------------------------------<br>Multitudes, multitudes,<br> in the valley of decision!<br>For the day of the LORD is near<br> in the valley of decision.<br>
<br>Giôên 3:14 (ESV)<br><br>
<br><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 7:44 PM, Eeli Kaikkonen <span dir="ltr"><<a href="mailto:eekaikko@mail.student.oulu.fi">eekaikko@mail.student.oulu.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, 19 Nov 2009, Gary Holmlund wrote:<br>
<br>
> Raoul Snyman wrote:<br>
> > On Thu, 19 Nov 2009 21:01:30 -0800, Gary Holmlund wrote:<br>
> ><br>
> >> I somewhat prefer writing it to a 2nd window.<br>
> >><br>
> >> In either case it seems right to change for all platforms. Any thoughts<br>
> >> about this?<br>
> >><br>
> ><br>
> > Just that if the app crashes you don't have any debug output ;-)<br>
> ><br>
> ><br>
> Good point !<br>
<br>
</div>It definitely shouldn't be changed for *nix. Every application puts<br>
output to std output and changing that would be outrageous. Is it<br>
possible to use just cout in Windows? I guess win apps can put text in<br>
the console somehow because console works at all. If cout doesn't work,<br>
maybe there's a simple MS way to do it with some header file. Then we<br>
could use #ifdef.<br>
<br>
Yours,<br>
<font color="#888888"> Eeli Kaikkonen (Mr.), Oulu, Finland<br>
e-mail: eekaikko@mailx.studentx.oulux.fix (with no x)<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
</div></div></blockquote></div><br></div></div>