Branko Äibej wrote:

William A. Rowe, Jr. wrote:

And you are now passing cloned parent-side handles again to the child
process which means the parent can't signal the file closed, because
closing the parent handle doesn't close the handle in the child process.


I'm not sure I understand this. If you want to make the file handle inheritable, you must create a duplicate.


Wups, correction! That's true only on Win95/98/Me, you have to use Duplicate Handle there. On WinNT/2K/XP, you can use SetHandleInformation instead.

Do we want to check the OS version there?

--
Brane Äibej   <[EMAIL PROTECTED]>   http://www.xbc.nu/brane/



Reply via email to