09-03-2010, 10:25 AM
Function WaitForFileNotLocked
example
Function wait_file2
;/
function $_file
opt waitmsg -1
Dir d
rep
,if d.dir(_file) and d.FileSize
,,__HFile f.Create(_file OPEN_EXISTING 0 FILE_SHARE_READ); err
,,if(f) f.Close; break
,0.5
example
Function wait_file2