Re: IOCP and NamedPipes - Creating a Child Process with Redirected Input and Output
justinj wrote:
> Is the pipe not already created after calling CreateNamedPipe? Why
> CreateFile and not OpenFile?
OpenFile should work as well. CreateFile allows both opening exisiting and
creating new files so out of habit many people use it for both purposes.
--
Eugene
http://www.gershnik.com
.
Relevant Pages
- Re: question on last access time of a file ..
... crea,lastacc,lastwri: pfiletime; ... OpenFile() to get the file handle, -- CreateFile() or OpenFilechanges ... (borland.public.delphi.nativeapi) - Is there any other way I can use to get the devices FDO/PDO
... I am unable to open a device by its name with CreateFile, OpenFile, or ... IoGetDeviceObjectPointer, as it looks like DO_DEVICE_INITIALIZING is set. ... Christian C ... (microsoft.public.development.device.drivers) - Re: check file opened or not?
... How about using OpenFile() with OF_SHARE_EXCLUSIVE? ... since using CreateFile, if successful, I have to delete the file, and my ... purpose is only to check whether some file is opened or not. ... (microsoft.public.vc.language) - reading sector in VC++2005
... How could I read and write sectors with VC++ 2005 Express Edit? ... CreateFile or OpenFile for that? ... I explain, I've got a .bin file, and I must to write it, into the MBR of the ... (microsoft.public.vc.language) - writing mbr with vc++ 2005 express ed. beta
... How could I read and write sectors with VC++ 2005 Express Edit? ... CreateFile or OpenFile for that? ... I explain, I've got a .bin file, and I must to write it, into the MBR of the ... (microsoft.public.win32.programmer.kernel) |
|