🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: reading the cmos hardware mainboard clock and updating the software clock

#7422
From: Bob Gonder
Date: Mon, 07 Feb 2005 15:48
13 lines
1441 bytes
Peted wrote:

>Can anyone advise me please how i can go about (in c++ builder)
>reading the cmos mainboard hardware clock,

I have a feeling these won't work in XP, but you could try....
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cmconReal-TimeClock.asp


> and using that info to update the windows XP software clock.

See	SetSystemTime()
Or 	SetLocalTime()
Technical Details
Message-ID: <ht1f0113akrfvj9hve88qu36n3a95j6jad@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <c82e01tqsks6rk5u4vmumnk9h5465vq5ip@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5f4e8059be4d14f7
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: reading the cmos hardware mainboard clock and updating the software clock
Date: Mon, 07 Feb 2005 07:48:41 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <ht1f0113akrfvj9hve88qu36n3a95j6jad@4ax.com>
References: <c82e01tqsks6rk5u4vmumnk9h5465vq5ip@4ax.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: 67.77.147.131
X-Trace: newsgroups.borland.com 1107791318 67.77.147.131 (7 Feb 2005 07:48:38 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail