On Tue, Jan 5, 2021 at 3:30 PM wkitty42--- via fpc-pascal
wrote:
> provided the other program opens the file for creation properly (eg:
> blahDenyAll), right?
Maybe use fmShareExclusive when opening the file.
That name suggest you can only open if you are the only one?
--
Bart
On 1/4/21 11:06 AM, Bart via fpc-pascal wrote:
On Mon, Jan 4, 2021 at 3:19 AM James Richters via fpc-pascal
wrote:
I suspect that I happen to see the file is there and try to read it before the
program that created the file is done writing it.
What is the proper way to detect the file is in u
On Mon, Jan 4, 2021 at 3:19 AM James Richters via fpc-pascal
wrote:
> I suspect that I happen to see the file is there and try to read it before
> the program that created the file is done writing it.
> What is the proper way to detect the file is in use so I don't bother trying
> to open it un
I am checking for the existence of a file in my main program loop that runs
about 4 times a second waiting for keystrokes etc...
If I see the file exists, I just want to open the file, read it into a buffer
and process it.
This works most of the time, but every once in a while I get
EInOutErro