fileapi - Windows api for locking a file -
when open word or excel file. gets exclusive lock, if tries edit , save changes, gets error stating "file used other user", has read-only copy of document created in temp folder. can tell me api used windows locking file on open.
see dwsharemode param createfile api. can give file or device cannot shared or not opened until handle file or device closed. see lockfile.
Comments
Post a Comment