🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2100

Re: How to effectively modify the last access time of a file

#2100
From: Bob Gonder
Date: Thu, 05 Apr 2007 14:08
9 lines
1561 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?BorlandNG> wrote:

>No, he means that the CloseHandle call sets the last access time to when the 
>CloseHandle happened! I don't see a way round this! Certainly, the other 2 
>work fine (last modified and last created), but last access includes the 
>access required to set the last access date and time - a bit of a Catch 22 
>situation!

Change the system time before closing ?
Technical Details
Message-ID: <4m0a131nm6rckquub0027tumn2n7upo3ev@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <op.tqajwtlyjr09w3@localhost> <Xns990966E8E657Fkoenhacom@207.105.83.66> <4614eacb@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,69dd2e4db7d54b87
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to effectively modify the last access time of a file
Date: Thu, 05 Apr 2007 07:08:44 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <4m0a131nm6rckquub0027tumn2n7upo3ev@4ax.com>
References: <op.tqajwtlyjr09w3@localhost> <Xns990966E8E657Fkoenhacom@207.105.83.66> <4614eacb@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.88.109
X-Trace: newsgroups.borland.com 1175782122 69.69.88.109 (5 Apr 2007 07:08:42 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail