Solved

Get last time reboot

Posted on 1998-10-14
3
183 Views
Last Modified: 2010-04-06
How can I get the time of the last reboot ?
0
Comment
Question by:sharons
3 Comments
 
LVL 3

Accepted Solution

by:
philipleighs earned 90 total points
ID: 1342916
Hi,

There is a function called GetTickCount which returns the number of milliseconds that Windows has been running.

Cheers,
Phil.

0
 
LVL 1

Expert Comment

by:BlackDeath
ID: 1342917
and what are you doing if the user starts up with dos instead of directly loading windows, walks to the john, takes two hours for a big bile of crap, wipes off, returns and _then_ starts windows ?

question to sharons:

should this run on both win9x and nt?

Black Death.


0
 

Author Comment

by:sharons
ID: 1342918
Thank you. It works great (with NT too).


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Filemaker 14 vs Delphi Embarcadero 7 185
Delphi component that can load a DLL in design time? 8 53
CheckListBox usage 3 48
Multi-layered image in FireMonkey 9 13
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short film showing how OnPage and Connectwise integration works.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now