Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSystem Uptime Pin
sonualex8-Jul-10 3:36
sonualex8-Jul-10 3:36 
AnswerRe: System Uptime Pin
Code-o-mat8-Jul-10 3:52
Code-o-mat8-Jul-10 3:52 
GeneralRe: System Uptime Pin
sonualex8-Jul-10 23:20
sonualex8-Jul-10 23:20 
GeneralRe: System Uptime Pin
Code-o-mat8-Jul-10 23:29
Code-o-mat8-Jul-10 23:29 
GeneralRe: System Uptime Pin
sonualex9-Jul-10 1:43
sonualex9-Jul-10 1:43 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 1:53
Code-o-mat9-Jul-10 1:53 
AnswerRe: System Uptime Pin
David Crow9-Jul-10 3:20
David Crow9-Jul-10 3:20 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 3:23
Code-o-mat9-Jul-10 3:23 
True, but what can he do to avoid this problem? Is there some api call that gives him the exact time the computer was switched on even if it happened 2 days ago or somesuch?
I guess he oould check windows's uptime, and if that is longer than what he gets out of GetTickCount then he can calulate how many times that might have overflown to correct the value.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

GeneralRe: System Uptime Pin
David Crow9-Jul-10 3:25
David Crow9-Jul-10 3:25 
QuestionMouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 2:52
AbhiHcl8-Jul-10 2:52 
AnswerRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 3:40
Code-o-mat8-Jul-10 3:40 
GeneralRe: MouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 19:59
AbhiHcl8-Jul-10 19:59 
GeneralRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 21:34
Code-o-mat8-Jul-10 21:34 
Questionmalloc limitations Pin
rupeshkp7288-Jul-10 2:25
rupeshkp7288-Jul-10 2:25 
AnswerRe: malloc limitations Pin
Niklas L8-Jul-10 2:29
Niklas L8-Jul-10 2:29 
GeneralRe: malloc limitations Pin
rupeshkp7288-Jul-10 2:32
rupeshkp7288-Jul-10 2:32 
GeneralRe: malloc limitations Pin
Naveen8-Jul-10 3:25
Naveen8-Jul-10 3:25 
AnswerRe: malloc limitations Pin
David Crow8-Jul-10 3:11
David Crow8-Jul-10 3:11 
AnswerRe: malloc limitations Pin
rupeshkp7288-Jul-10 3:22
rupeshkp7288-Jul-10 3:22 
AnswerRe: malloc limitations Pin
Aescleal8-Jul-10 4:59
Aescleal8-Jul-10 4:59 
GeneralRe: malloc limitations Pin
rupeshkp7288-Jul-10 5:55
rupeshkp7288-Jul-10 5:55 
Questionhash tables concepts Pin
rupeshkp7288-Jul-10 2:21
rupeshkp7288-Jul-10 2:21 
AnswerRe: hash tables concepts Pin
Chris Losinger8-Jul-10 2:24
professionalChris Losinger8-Jul-10 2:24 
GeneralRe: hash tables concepts Pin
rupeshkp7288-Jul-10 2:27
rupeshkp7288-Jul-10 2:27 
QuestionApplication Crash Pin
T.RATHA KRISHNAN8-Jul-10 1:19
T.RATHA KRISHNAN8-Jul-10 1:19 

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.