🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows Date - Time changed

#14494
From: Stephan
Date: Tue, 12 Aug 2003 14:16
17 lines
1478 bytes
get the system date-time (look up TDateTime vcl)
get the time the operating system was on for
(lookup  timeGetTime function, retrieves the
system time, in milliseconds. The system time
is the time elapsed since Windows was started. win api)
then periodically check the elaped time the system was on for
against the elapsed system date-time

Have fun
Stephan

"Stan" <thewatcher@email.com> wrote in message
news:3f38f0a7@newsgroups.borland.com...
Hello
Is there a way that my application could be notified every time the user
changes the windows date or time ?
thanks
Technical Details
Message-ID: <3f38f6ac@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-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f38f0a7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d3e224aa67ae08b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-12 07:28:39 PST
From: "Stephan" <slaska@devarinc.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f38f0a7@newsgroups.borland.com>
Subject: Re: Windows Date - Time changed
Date: Tue, 12 Aug 2003 10:16:12 -0400
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 64.252.14.74
Message-ID: <3f38f6ac@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060697772 64.252.14.74 (12 Aug 2003 07:16:12 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail