Re: Windows Console Output
- Posted by Pete Lomax <petelomax at b?uey?nder.co.uk> Sep 23, 2007
- 502 views
jacques deschĂȘnes wrote: > For a long time I have been thinking about writing a library to capture > console i/o but never took the time to do it. > But from you question I made some search on MSDN and found a C sample code > that show how to do it and decided to write capture.e There is some code in Edita which attempts to capture console output, specifically in eacons.ew and eacons.exw. As a disclaimer, it is squarely aimed at running Eu source code via exwc.exe and is less than 100% perfect. What I did find (on win98) is that I needed a separate process (eacons.exw) to be the sacrificial lamb that locks up, with eacons.ew looking after it and sending it a wakeup/die message. Feel free to steal/ignore any of that. Regards, Pete