🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get the system uptime?

#16231
From: Vladimir Afanasyev
Date: Wed, 28 May 2003 08:30
16 lines
1376 bytes
Hi,
What operating system do you use (2000, XP)?
Vladimir.


"vERUs" <verus@privat.utfors.se> wrote:
>Hi, I wonder how I can obtain the system uptime?
>Can this be made using "NtQuerySystemInformation"? It's for a monitoring
>tool that expects to be running for long periods of time so I can't use
>TickCount() because of it's ~47 days limit.
>Thanks.
>
>/ vERUs
>
>
Technical Details
Message-ID: <3ed47392$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ed3dfa5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7346dca14e776e6d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-28 01:49:04 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Get the system uptime?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References:  <3ed3dfa5$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ed47392$1@newsgroups.borland.com>
Date: 28 May 2003 01:30:10 -0700
X-Trace: newsgroups.borland.com 1054110610 207.105.83.65 (28 May 2003 01:30:10 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail