[fpc-devel] FpFlock with Text as argument
luca at ventoso.org
Thu May 8 09:03:17 CEST 2008
En/na amir ha escrit:
> At first, I tried AssignFile and passed the TextFile(Text) variable to
> fpflock with LOCK_EX. It didn't work and both processes can access the
Maybe fpLock just needs an open file, and AssignFile just establishes
which filename corresponds to a pascal file, it doesn't open it.
Try a "reset(InputFile)", though I think reset won't wait, it will just
fail if the file is locked.
More information about the fpc-devel