« Return to Thread: Redirecting cout to a TextBuffer

Re: Redirecting cout to a TextBuffer

by milosz derezynski :: Rate this Message:

Reply to Author | View in Thread

I don't really know anything about Windows programming but i'd imagine the Windows C runtime offers an stdout and stderr the same way as under *nix.

2008/5/11 Søren Hauberg <hauberg@...>:
2008/5/10 Milosz Derezynski <internalerror@...>:
> I guess you should set up a watch on stdout using Glib::IOChannel. I'm not
> sure how to do this for C++ streams since the IOChannel API, while wrapped
> into C++, still operates on C FDs only, but this would solve the problem.
Thanks, I'll try that. Is such an approach portable? I mean, does it
work on Windows?

Søren


_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

 « Return to Thread: Redirecting cout to a TextBuffer