|
![](/i/fill.gif) |
On 5 Jun 1999 10:26:43 -0400, Nieminen Mika <war### [at] cc tut fi> wrote:
> Not directly related to povray, but it's for an utility program that
>I'm making.
>
> How do I redirect stdout and stderr to a text window inside my
>application (just like povray seems to do)?
> I'm using borland C++ builder.
I don't think POV does, exactly. It uses a set of macros for all text
output. If you look at the windows config.h, you'll see that it
points those macros at a series of WIN_* functions that send the
output to the message window.
In win32, you might be able to get away with pointing stdout and
stderr at an anonymous pipe, and having another thread emptying the
other end of the pipe into a window of some kind.
Post a reply to this message
|
![](/i/fill.gif) |