Tips for installing windows and freeBSD both.. anyone??

Bruce Cran bruce at cran.org.uk
Sat Nov 13 19:02:45 UTC 2010


On Sat, 13 Nov 2010 12:48:40 -0600 (CST)
Robert Bonomi <bonomi at mail.r-bonomi.com> wrote:

> Au Contraire,  WINDOWS *itself* forbids more than one application
> from having the same file open forworking on.

Wrong. Windows *itself* doesn't care - lots of applications just don't
specify FILE_SHARE_WRITE:

"An application also uses CreateFile to specify whether it wants to
share the file for reading, writing, both, or neither. This is known as
the sharing mode. An open file that is not shared (dwShareMode set to
zero) cannot be opened again, either by the application that opened it
or by another application, until its handle has been closed. This is
also referred to as exclusive access." from
http://msdn.microsoft.com/en-us/library/aa363874%28VS.85%29.aspx

-- 
Bruce Cran


More information about the freebsd-questions mailing list