Try to close the handle of stderr ( close(2)) and then to open a new file.
The system will probably
give you the previous handle. After, you have to do the reverse.
this system is used with Unix,....
AB
a écrit dans le message :
397415ca@newsgroups.ni.com...
>
> Klaus,
>
> You may find that you can obtain the information using the pipe out:
>
> "action 2> filename"
>
> This is a way to obtain the stderr output into a file using JAVA.
Obviously
> it depends if you are using a suitable compiler too. May be worth a try.
>
> For more information on JAVA and C programming refer to Imperial College
> Computing Dept web site, which contains a resource of knowledge!
>
> www.doc.ic.ac.uk/lab/cplus/c.html
>
> Good luck