Article View: borland.public.cppbuilder.nativeapi
Article #17704Re: Change timestamp of a directory
From: Ed Mulroy [TeamB]
Date: Thu, 06 Mar 2003 14:45
Date: Thu, 06 Mar 2003 14:45
20 lines
1986 bytes
1986 bytes
> Helmut Giese wrote in message > news:3e675170.1917379@forums.borland.com... > Hm, I thought of that, too. But when going this > route everything has to work out 100% - no error > allowed - never. Or else the system time > will remain set at an arbitrary point in the past > - and leave a very puzzled user. When Windows 3.0 (yes, the replacement for Win 386) came out I was greatly bothered by how it commonly would lock up a program of any size. I used to do this by executing a second, small exe with a hidden window which would accept a set of messages. I would tell it what my main window's caption was (so it could find the window later), and what the original and phony time was. This 2nd app would look for the first window and if found would then yield. If it did not find the first window it would check the time and date and if wildly off, adjust the time. It would then quit. Things are better these days but I still do that. . Ed
Technical Details
Message-ID:
<3e675f1c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e667f83.3979706@forums.borland.com> <3e66aeb8$1@newsgroups.borland.com> <3e675170.1917379@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9cdd532a1dbdad8e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-06 21:49:44 PST From: "Ed Mulroy [TeamB]" <ed@mulroy.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e667f83.3979706@forums.borland.com> <3e66aeb8$1@newsgroups.borland.com> <3e675170.1917379@forums.borland.com> Subject: Re: Change timestamp of a directory Date: Thu, 6 Mar 2003 09:45:37 -0500 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <3e675f1c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046961948 24.74.175.102 (6 Mar 2003 06:45:48 -0800) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail