Q for Rex about @LINES

May 20, 2008
Syracuse, NY, USA
I have a plugin which opens a file with FILE_SHARE_READ | FILE_SHARE_WRITE. While the file is open, I can TYPE it (or HEAD, or TAIL, in the current TCC or in another instance). But I can't use @LINES on it (current or other instance). When I try, I get
TCC: (Sys) The process cannot access the file because it is being used by another process.
What's up with that?