-------- Original Message --------
Subject: Re: _O_NOINHERIT
Date: Wed, 19 Nov 2003 23:48:45 +0100
From: Arjan Knepper <[EMAIL PROTECTED]>
Organization: Digital Mars
Newsgroups: c++.idde
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
OK you are just using the c-runtime '_open (..)'.
Take a look at the source file which implements _open (..) in the compiler src directory. That way you can see how the _O_NOINHERIT is affecting the file open api call (which will probably use CreateFile).
I would not use the "undocumented" _O_NOINHERIT. Has problaby something to do with the HANDLE returned from CreateFile not being inheritable by child processes or threads or DuplicateHandle.
Arjan
=====> I let the #ifndef __DMC__
I continue to investigate for memory mapped file, but thanks if you have a small sample I can submit. I know nothing about that topic!
--
Riccardo Cohen
Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49
_______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
