View Single Post
Old 17th July 2007, 21:48   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It should do. To try that, duplicate the code so the installer tries to open the unlocked file twice and the 2nd open should fail.

The other option is to attempt a rename and then check for errors.

Stu
Afrow UK is offline   Reply With Quote