This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: console IO in GUI apps
- To: "Augustus Saunders" <asaunders5 at earthlink dot net>, "cygwin-xfree" <cygwin-xfree at cygwin dot com>
- Subject: RE: console IO in GUI apps
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Sun, 21 Oct 2001 09:48:21 -0400
Augustus,
> IIRC, when an
> application is launched from a console, then you can
> just use standard in and standard out and it works as
> if by magic.
That's not true. Try this simple test case: compile a Windows application
(WinMain, not main) that simply calls printf ("Hello World!\n"); Launch the
application from a DOS console. You'll never see the printf message.
Harold