Prev: Vista and CSIDL_COMMON_APPDATA - readonly and _hidden_ directory
Next: How to use tab control in vc++ win32 api (not mfc) ??
From: rogero on 4 Mar 2010 04:49 On Mar 3, 7:51 pm, IlyaK <katsnel...(a)gmail.com> wrote: > Can you please point out where the error is? > Obviously I don't see it. Apply the following: - The read will return zero when the last write handle to the pipe closes. - The child process has completed, so it can't be holding handles. So who has this handle open? The main process. So close *that* copy of the handle and it'll work as expected. Regards, Roger. |