4xCoder Thanks, your pipe-handling code is just great! But there is one problem, could you please help me with it?.. I'm trying to write in pipe Russian letters with CopyToBuffer/WriteFile functions, and all I get is "?" characters. How should I ...