Re: Checking if File Open
- Posted by cklester <cklester at yahoo.com> Jun 30, 2005
- 555 views
OtterDad wrote: > > as much as i hate to commit on-line suicide by questioning Derek, a question > comes to mind. your example appears to handle only files opened by Euphoria > itself, which has no true open shared mode. would your code work to read a > file opened by another language, say PowerBuilder, which supports files > opened in a shared mode by multiple users? To further specify my situation, the file I'm attempting to replace might be open by another application. > a trick i often use to test if a file is REALLY closed, is to use a WinAPI > call to move the file to a temp directory and then back home again. the OS > won't move files opened in shared mode. Derek, will your example suffice, or will I need to go another route? Thanks guys!!! -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/