> They could have been changed using SetStdHandle().
Not so.
> And the plain stdio stdin/stderr/stdout are not affected.
Again, apparently not so.
I compiled the following program up with MSDEV6 and ran it under wine:
#include <stdio.h>
int main()
{
printf("hello\n");
return 0;
}
The output of the program comes out of wineserver's stdout not wine's (I ran
wineserver in one xterm, and wine in another).
I checked to see if SetStdHandle() is called - it is not (at least, I ran wine
under gdb and set a breakpoint, which didn't trip).
David Howells