Article View: borland.public.cppbuilder.nativeapi
Article #16219Get the system uptime?
From: vERUs
Date: Tue, 27 May 2003 21:59
Date: Tue, 27 May 2003 21:59
7 lines
1171 bytes
1171 bytes
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:
<3ed3dfa5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7346dca14e776e6d,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-27 15:19:00 PST From: "vERUs" <verus@privat.utfors.se> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Get the system uptime? Date: Tue, 27 May 2003 23:59:29 +0200 Lines: 9 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 NNTP-Posting-Host: 212.105.25.200 Message-ID: <3ed3dfa5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054072741 212.105.25.200 (27 May 2003 14:59:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail