Describes how the files being added to the archive will be opened for simulatenous access.
Unit
ZipForge
type TZFFileShareMode = (smShareCompat, smShareExclusive, smShareDenyWrite,
smShareDenyRead, smShareDenyNone);
Description
TZFFileShareMode value specifies how the files being added to the archive will be opened for simulatenous access. This type corresponds open file mode constants defined in Classes unit for TFileStream.Create.
Options.ShareMode can be set to any of the following values:
Value
|
Meaning
|
smShareCompat
|
Sharing is compatible with the way FCBs are opened
|
smShareExclusive
|
Other applications can not open the file for any reason
|
smShareDenyWrite
|
Other applications can open the file for reading but not for writing
|
smShareDenyRead
|
Other applications can open the file for writing but not for reading
|
smShareDenyNone
|
No attempt is made to prevent other applications from reading from or writing to the file
|
|
|