Click here to Skip to main content
15,915,093 members
Home / Discussions / System Admin
   

System Admin

 
AnswerRe: building 2 primary partitions Pin
Luc Pattyn17-Jul-07 6:42
sitebuilderLuc Pattyn17-Jul-07 6:42 
AnswerRe: building 2 primary partitions Pin
Mohamad K. Ayyash13-Sep-07 5:04
Mohamad K. Ayyash13-Sep-07 5:04 
QuestionAPI to detect Windows XP restart [modified] Pin
chervu16-Jul-07 10:30
chervu16-Jul-07 10:30 
AnswerRe: API to detect Windows XP restart Pin
Luc Pattyn16-Jul-07 11:32
sitebuilderLuc Pattyn16-Jul-07 11:32 
GeneralRe: API to detect Windows XP restart Pin
chervu17-Jul-07 4:21
chervu17-Jul-07 4:21 
GeneralRe: API to detect Windows XP restart Pin
Luc Pattyn17-Jul-07 4:39
sitebuilderLuc Pattyn17-Jul-07 4:39 
GeneralRe: API to detect Windows XP restart Pin
chervu17-Jul-07 6:22
chervu17-Jul-07 6:22 
AnswerRe: API to detect Windows XP restart Pin
Mike Dimmick16-Jul-07 11:47
Mike Dimmick16-Jul-07 11:47 
Probably your best bet is to define a special command-line option and put this in your Startup shortcut or Run registry key. Otherwise some way of measuring the system uptime is probably necessary.

GetTickCount is supposed to return the number of milliseconds since the system started, but I believe there are options somewhere to force the initial count to be a large number, so that counter rollover happens fairly soon after system startup, so this may not be reliable. If using the .NET Framework, the equivalent is System.Environment.TickCount.

GetSystemTimes tells you how much clock time has been spent idle, running kernel-mode code and running user-mode code. The sum of these three should be the amount of time the system has been running for.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: API to detect Windows XP restart Pin
chervu17-Jul-07 4:36
chervu17-Jul-07 4:36 
GeneralRe: API to detect Windows XP restart Pin
Build600019-Jul-07 8:43
Build600019-Jul-07 8:43 
QuestionWin XP Pro search fails to find any files? Pin
charlieg16-Jul-07 1:13
charlieg16-Jul-07 1:13 
AnswerRe: Win XP Pro search fails to find any files? Pin
Mike Dimmick16-Jul-07 11:40
Mike Dimmick16-Jul-07 11:40 
GeneralRe: Win XP Pro search fails to find any files? Pin
originSH17-Jul-07 2:32
originSH17-Jul-07 2:32 
GeneralRe: Win XP Pro search fails to find any files? Pin
Vasudevan Deepak Kumar17-Jul-07 6:54
Vasudevan Deepak Kumar17-Jul-07 6:54 
GeneralRe: Win XP Pro search fails to find any files? Pin
Mike Dimmick17-Jul-07 11:09
Mike Dimmick17-Jul-07 11:09 
AnswerRe: Win XP Pro search fails to find any files? Pin
Vasudevan Deepak Kumar17-Jul-07 6:53
Vasudevan Deepak Kumar17-Jul-07 6:53 
AnswerRe: Win XP Pro search fails to find any files? Pin
charlieg17-Jul-07 10:08
charlieg17-Jul-07 10:08 
Questionchanging permissions of registry entry Pin
rahul_3136612-Jul-07 0:17
rahul_3136612-Jul-07 0:17 
AnswerRe: changing permissions of registry entry Pin
Sebastian Schneider12-Jul-07 2:15
Sebastian Schneider12-Jul-07 2:15 
Questiontracert - check connectivity Pin
devvvy12-Jul-07 0:03
devvvy12-Jul-07 0:03 
AnswerRe: tracert - check connectivity Pin
Sebastian Schneider12-Jul-07 2:12
Sebastian Schneider12-Jul-07 2:12 
AnswerRe: tracert - check connectivity Pin
Dave Kreskowiak12-Jul-07 4:22
mveDave Kreskowiak12-Jul-07 4:22 
GeneralRe: tracert - check connectivity Pin
devvvy12-Jul-07 14:46
devvvy12-Jul-07 14:46 
GeneralRe: tracert - check connectivity Pin
Dave Kreskowiak13-Jul-07 6:49
mveDave Kreskowiak13-Jul-07 6:49 
GeneralRe: tracert - check connectivity Pin
Mike Dimmick14-Jul-07 6:11
Mike Dimmick14-Jul-07 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.