"Angus Leeming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

> Reading this thread
> http://lists.trolltech.com/qt-interest/2001-11/thread00727-0.html
>
> A Windows application does not have any stdout/stderr by default, all
> output vanishes without a trace for you.But if you want to, you can create
> a console with AllocConsole() and attach that to stdout/stderr ...
>
> Add following lines into main :
> #ifdef WIN32
>  AllocConsole();
>  freopen("conin$", "r", stdin);
>  freopen("conout$", "w", stdout);
>  freopen("conout$", "w", stderr);
> #endif
>

Yep, tried this too. But then it turned out that some shell scripts failed,
for mysterious reasons...

Ruurd



Reply via email to