Article View: borland.public.cppbuilder.nativeapi
Article #15589Re: Notification at certain point of time
From: Tom Woodrow
Date: Fri, 20 Jun 2003 22:12
Date: Fri, 20 Jun 2003 22:12
27 lines
1974 bytes
1974 bytes
I have a component that does this. email me if you are intrested. This component generates an event on a second change, a minute change, an hour change or a day change. You set up the event handler to see if the time is correct to trigger your event. Tom Woodrow www.dacworks.com nicolasr wrote: > Hi, > > how can I have my program get notified at a certain point of time? > Like a virus scanner that should be launched sunday night at 11:00. > I don't want to use SetTimer (or TTimer), since it is probably rather > unprecise. Also the system time might have gotten synchronized to an > external clock in the meantime. So the TTimer interval would not be > correct anymore. > (Perhaps my program should even get notified ten seconds ahead so I > can show a countdown) > > Any better method to accomplish this? > Thanks for any idea. > > Nick > >
Technical Details
Message-ID:
<3EF386C7.8020007@attbi.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ef361a3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2e0b61516e44ac62 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-20 15:45:26 PST Message-ID: <3EF386C7.8020007@attbi.com> Date: Fri, 20 Jun 2003 15:12:23 -0700 From: Tom Woodrow <tomwoodrow@attbi.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Notification at certain point of time References: <3ef361a3@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.234.53.246 X-Trace: newsgroups.borland.com 1056147142 12.234.53.246 (20 Jun 2003 15:12:22 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail