Article View: borland.public.cppbuilder.nativeapi
Article #12760Re: Sleep( ) differences in Win98 and WinXP?
From: Remy Lebeau (TeamB)
Date: Thu, 20 Nov 2003 06:21
Date: Thu, 20 Nov 2003 06:21
14 lines
1599 bytes
1599 bytes
"Nicholas Gessler" <gessler@ucla.edu> wrote in message news:3fbc5a0b$1@newsgroups.borland.com... > So I need a way to adjust these intervals smoothly in > the range of 1-10 ms. I'm guessing that the Timer Component > cannot slice time that precisely. You would be correct. TTimer is very inaccurate. You should have a look at possibly using either a Multimedia Timer (timeSetEvent()) or a Performance Counter (QueryPerformanceCounter() and QueryPerformanceFrequency())). Gambit
Technical Details
Message-ID:
<3fbc5d48@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fbc4093$1@newsgroups.borland.com> <3fbc4bcd$1@newsgroups.borland.com> <3fbc4e30@newsgroups.borland.com> <3fbc537f$1@newsgroups.borland.com> <3fbc5a0b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a735156abe5db193 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-19 22:27:11 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fbc4093$1@newsgroups.borland.com> <3fbc4bcd$1@newsgroups.borland.com> <3fbc4e30@newsgroups.borland.com> <3fbc537f$1@newsgroups.borland.com> <3fbc5a0b$1@newsgroups.borland.com> Subject: Re: Sleep( ) differences in Win98 and WinXP? Date: Wed, 19 Nov 2003 22:21:16 -0800 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.149 Message-ID: <3fbc5d48@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069309256 67.22.137.149 (19 Nov 2003 22:20:56 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail