File sharing/locking for TFileStream and other classes
Original Reporter info from Mantis: L505
-
Reporter name: Lars(L505)
Original Reporter info from Mantis: L505
- Reporter name: Lars(L505)
Description:
Should the documentation mention that FileStreams can use file locking...
http://www.freepascal.org/docs-html/rtl/classes/tfilestream.create.html
It says the only file modes are
fmCreate
fmOpenRead
fmOpenWrite
fmOpenReadWrite
But does not mention these could potentially be used with OR logic:
fmShareCompat
fmShareExclusive
fmShareDenyWrite
fmShareDenyRead
fmShareDenyNone
Also, file locking/sharing on TStringList and other classes (anything that opens a file in the background) might need to be mentioned if it is possible? Have not checked those docs yet.
Mantis conversion info:
- Mantis ID: 31237
- Fixed in version: 3.1.1
- Fixed in revision: 1380 (#22c42527)
- Target version: 3.2.0