Re: PROPERTIES DIALOG TIME ACCESSED
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Tue, 10 May 2005 09:42:30 -0700
jerry_ys wrote:
> Thanks Carl, but unless i'm making a mistake it seems the sample you
> pointed me to does not yield the correct time after providing the
> correct time the first time.
Reading a file, even its properties, counts as "accessing" it. Try the same thing
using the File-Properties dialog.
> Also I suspect you are not using the api's i mention in my question to
> obtain this time . m_fi.LastAccessTime .
Right, those timestamps were extracted from a WIN32_FIND_DATA structure returned by
FindFirstFile. I'm pretty sure you'd observe the same results using GetFileTime.
Given the code in that sample, such a test should be pretty easy to code up, eh?
> Do you see the same problem or is it just me?
Not sure it's a problem?
Later... Karl
--
Working Without a .NET?
http://classicvb.org/petition
.
- Follow-Ups:
- Re: PROPERTIES DIALOG TIME ACCESSED
- From: jerry_ys
- Re: PROPERTIES DIALOG TIME ACCESSED
- From: jerry_ys
- Re: PROPERTIES DIALOG TIME ACCESSED
- References:
- PROPERTIES DIALOG TIME ACCESSED
- From: jerry_ys
- Re: PROPERTIES DIALOG TIME ACCESSED
- From: Karl E. Peterson
- Re: PROPERTIES DIALOG TIME ACCESSED
- From: jerry_ys
- PROPERTIES DIALOG TIME ACCESSED
- Prev by Date: Re: Getting the Password from XP
- Next by Date: Controlling Windows Explorer with API
- Previous by thread: Re: PROPERTIES DIALOG TIME ACCESSED
- Next by thread: Re: PROPERTIES DIALOG TIME ACCESSED
- Index(es):