General information
Category:
Coding, syntax & commands
>Hello,
>
>To determine if a file is open exclusively by another process try the following:
>
>lnHandle = fopen(otherfile,2) && Read Write
>llExcl = lnHandle > 0
>if llExcl
> = fclose( lnHandle )
>endif
>
>
>Glenn
>
Thanks for your answer Glenn, but I need to know wether *my* app has exclusive use of file, so I'll be using SYS(2011).
Just out of curiosity. If the other user has a lock on a particular record, would I be able to FOPEN it read/write?
Thanks again.
Alex
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only