Hi Jhon,

The statement probably refers to the fact that when the file is (heavily)
accessed, its attribute is not sync-ed to the disk.
Hence FindFirstFile may not find the current/latest state, if you need the
accuracy down to seconds (or may be even to minutes).
But if you're talking about a period of 3 months, then FindFirstFile should
be working fine.

cheers,
james

> -----Original Message-----
> From: jhon wong [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 12:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      [xmail] Re: A suggestion about the file ".ipconn "
> 
> >
> > File access time must work (if the OS is not broken).
> >
> > - Davide
> >
> 
> Davide,
> 
>        It should be.
> 
>        But in microsoft document about "FindFirstFile"
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/ba
> se
> /findfirstfile.asp
> I find this sentence:
> .... ...
> "In rare cases, file attribute information on NTFS file systems may not be
> current at the time you call this function. To obtain the current NTFS
> file
> attributes, call GetFileInformationByHandle."
> .... ...
>       And in my program, I really had got uncorrect "file accesss time"
> result when using FindFirstFile(). I write a program to scan all the
> users.
> If one user didn't be active for 3 monthes I will delete it. So uncorrect
> time judging will make active user to be deleted. It is very serious.
> 
>       I will continue to check my code.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to