i want to open a text file in exclusive mode. in other words, if something else uses it currently, it should skip and try the next file.
what i do is:
filemode=fmOpenReadWrite + fmShareExclusive;
i wrote another program that will hold that other file .. (only a assign file and reset.)
then i try to assign the same file in another program.
it doesn't fail at all, and i think it should.
can someone please help me.
what i am trying to do, before i call reset, check another program uses it?