Re: [fpc-pascal] file locking cross platform

2015-04-04 Thread Tomas Hajny
On 4 Apr 15, at 8:23, Michael Van Canneyt wrote: > On Fri, 3 Apr 2015, no reply wrote: > > > There are some major differences between the way Windows and Unix allow > > locking of files with their api's, but is it possible to make a cross > > platform LockFile() procedure or function for both unix

Re: [fpc-pascal] file locking cross platform

2015-04-03 Thread Michael Van Canneyt
On Fri, 3 Apr 2015, no reply wrote: There are some major differences between the way Windows and Unix allow locking of files with their api's, but is it possible to make a cross platform LockFile() procedure or function for both unix and windows? By file locking I of course mean when for exam

Re: [fpc-pascal] file locking cross platform

2015-04-03 Thread no reply
I wrote: > There are some major differences between the way Windows and Unix allow > locking of files with their api's, but is it possible to make a cross > platform LockFile() procedure or function for both unix and windows? There is of course fpFlock for unix, http://www.freepascal.org/docs-ht

[fpc-pascal] file locking cross platform

2015-04-03 Thread no reply
There are some major differences between the way Windows and Unix allow locking of files with their api's, but is it possible to make a cross platform LockFile() procedure or function for both unix and windows? By file locking I of course mean when for example you have to write data to a file but