2011/6/5 Peter Samuelson <pe...@p12n.org>:
>
> [Peter Samuelson]
>> I _am_ rather curious whether, on Windows, using "CON:" for prompting
>> actually allows stdin to be usable for other things.  Like, when
>> piping or redirecting to it.  I suppose I can try to test this
>> feature using MingW32 + Wine
>
> Hmmm, fopen("CON:", "r+") in mingw32 + Wine just returns a "no such
> file or directory" error.  Not quite what I was hoping for.  I'm
> attaching my test program, maybe someone can test it on Windows....
>
> Peter
>

Hello.

I tested it and same result. However I found something relevant in MSDN library:
http://msdn.microsoft.com/en-us/library/7x2hy4cx.aspx (Console and Port I/O)

Might be usefull.

Klima

Reply via email to