I asked you to post the complete code!
What is V_hChildStd_OUT_Rd? How do you obtain it?
What does ReadFile return?
What is the value of dwRead?