🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetTickCount

#1223
From: Ted Lyngmo
Date: Thu, 11 Oct 2007 11:25
20 lines
1614 bytes
Bob Gonder wrote:
 >Ted Lyngmo wrote:
 >
 >>... {
 >>   SetTimer( NULL, 0, 15000, TimerProc );
 >>}
 >>
 >>TimerProc(..., dwTime ) {
 >>    static DWORD dwLastTime=0;
 >>    SetTimer( NULL, 0, 15000, TimerProc );
 >
 > Just to let you know, that isn't needed, and can introduce drift.
 > The Timer normally continues firing until killed.
 > This code will reset the timer-start-time after an unknown message
 > processing delay.

True, my bad!

Cheers,
Ted
Technical Details
Message-ID: <470e0842$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4709d350@newsgroups.borland.com> <470c5b61$1@newsgroups.borland.com> <qoupg31jr5jp4jmpf6bmor22kj1s1361gu@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,28d52fbe2eeb86d8
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 11 Oct 2007 13:25:59 +0200
From: Ted Lyngmo <tedREMOVETHIS@lyncon.se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: GetTickCount
References: <4709d350@newsgroups.borland.com> <470c5b61$1@newsgroups.borland.com> <qoupg31jr5jp4jmpf6bmor22kj1s1361gu@4ax.com>
In-Reply-To: <qoupg31jr5jp4jmpf6bmor22kj1s1361gu@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 85.195.27.81
Message-ID: <470e0842$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1192101954 85.195.27.81 (11 Oct 2007 04:25:54 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail