Hi Herfried,
First I want to mention, that I am new to programming.
I am looking at Redirect Console sample of yours at
dotnet.mvps.org/dotnet/samples/misc/.
You have put some description, but it is in deutsche.
I've tried to make a class, containing the functionality of your app but I
am kind of lost.
There are some things that I don't understand how Threads, whici grabs the
StandartOutput and StandertError keep running. I see you start the thread,
but basicly I should stop when the method which thread is running finishes
it's job. I can't see what keeps it running.
Every time a line is generated in StandartOutput of the app, the thread
method grabs it an put it on TextBox.
Also I can't figure out if this is put in a class, how to store the output
data and how the calling method should know there is any data and read it.
Can you or some one else help me, please?
Thanks in advance
P.S. Plase if you have time, make the description of the sample app in
english and the comments in the code also.