Delete on close files
The other processes need to specify FileShare.Delete
when they open the DeleteOnClose
file
From the MSDN CreateFile docs:
"
FILE_FLAG_DELETE_ON_CLOSE
... Subsequent open requests for the file fail, unless theFILE_SHARE_DELETE
share mode is specified."