This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: console IO in GUI apps


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]