Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2005, 04:38
LaDidi LaDidi is offline
VIP
 
Join Date: Aug 2004
Posts: 222
Rept. Given: 2
Rept. Rcvd 11 Times in 10 Posts
Thanks Given: 64
Thanks Rcvd at 54 Times in 29 Posts
LaDidi Reputation: 11
May be I wasn't clear...

Have you remove access or DENY access to account ?
It's not the same result...

Have you tried LockFile or LockFileEx API ?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/lockfile.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/lockfileex.asp
Reply With Quote
  #2  
Old 10-05-2005, 06:24
MarkusO
 
Posts: n/a
I missinterpreted what you said last time. Now I also denied any access for any user group, but the files could still be defragmented.

The next thing I tried was the LockFile and LockFileEx APIs, but neither of the prevented the file from being defragmented, in fact you could even open the files in read mode, only trying to open the files in write mode gave a lock violation.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Release file lock handle baatazu General Discussion 7 06-30-2005 00:22


All times are GMT +8. The time now is 03:36.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )