🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount) API

#10122
From: Leo Havm�ller
Date: Mon, 17 May 2004 08:38
12 lines
1388 bytes
"Leigh Milne" <lmilne@adelaide.on.net> wrote in message
news:40A85DEB.1030204@adelaide.on.net...
> Why does this API function place the value of the counter into a
> variable which must be signed?
>
> Surely this counter can't have a valid negative value?

I agreee. It should be unsigned.
This is a severe problem, because if you have a PC with a 4 GHz CPU, the
high bit will be set when it has run continously for 68 years ;-)

Leo Havm�ller.
Technical Details
Message-ID: <40a879f9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40A85DEB.1030204@adelaide.on.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,7be497d788ef4841
X-Google-Attributes: gid10cc67,public
From: "Leo Havm�ller" <leh@-nospam-rtx.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40A85DEB.1030204@adelaide.on.net>
Subject: Re: QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount) API
Date: Mon, 17 May 2004 10:38:16 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.63.27.146
Message-ID: <40a879f9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1084783097 80.63.27.146 (17 May 2004 01:38:17 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail