Closing a file handle in parent
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
POPULAR GROUPS

more...

 Up
Closing a file handle in parent         

Group: comp.os.mswindows.programmer.win32 · Group Profile
Author: Subrahmanya
Date: May 28, 2008 06:23

Hi All

A process spawns another process and it inherits all the parent
process handles. While the child process is existing if parent process
closes a file handle will the corresponding handle be accessible in
child process or this gets closed automatically (on windows). I am
writing a program in C++ where I want the corresponding handle in
child process also be closed. If the handle does not get closed in
child process automatically is there any other way to close the child
process handle forcefully?

Thanks in advance
Subrahmanya
1 Comment
diggit! del.icio.us! reddit!