Quote Originally Posted by gstercken
Well, if that's the only requirement: Just remove the loop with the Sleep().
I can't. I want that after the thred ends, the handler will do something else.
Thanks.