Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSystem clock loses time and jumps back up Pin
sumeat11-Nov-09 13:23
sumeat11-Nov-09 13:23 
AnswerRe: System clock loses time and jumps back up Pin
Richard MacCutchan11-Nov-09 21:17
mveRichard MacCutchan11-Nov-09 21:17 
GeneralRe: System clock loses time and jumps back up Pin
sumeat12-Nov-09 7:57
sumeat12-Nov-09 7:57 
GeneralRe: System clock loses time and jumps back up Pin
Richard MacCutchan12-Nov-09 9:09
mveRichard MacCutchan12-Nov-09 9:09 
QuestionRe: System clock loses time and jumps back up Pin
David Crow12-Nov-09 5:23
David Crow12-Nov-09 5:23 
AnswerRe: System clock loses time and jumps back up Pin
sumeat12-Nov-09 7:52
sumeat12-Nov-09 7:52 
GeneralRe: System clock loses time and jumps back up Pin
Randor 12-Nov-09 12:21
professional Randor 12-Nov-09 12:21 
GeneralRe: System clock loses time and jumps back up Pin
sumeat12-Nov-09 14:23
sumeat12-Nov-09 14:23 
Hi,

Thanks for the response.

I have looked into the GetSystemTimeAdjustmemt function and when I call this function on my target system it returns 15.625 ms for interval and increment and TRUE for the disabled flag. According to help if time adjustment is disabled then the interval is added to the time at each clock interrupt and time may be synchronize using "other mechanisms".

I do see a task running in the task manager that syncs the clock to RTC causing the jump in the time. I am not sure if it is timeserv.exe or not. It came and went so fast.

Is there a way to change the sync interval to something else other than an hour?
GeneralRe: System clock loses time and jumps back up Pin
Randor 12-Nov-09 15:20
professional Randor 12-Nov-09 15:20 
QuestionHow to hide a dialog box of another application completely ? Pin
hongheo7611-Nov-09 11:52
hongheo7611-Nov-09 11:52 
AnswerRe: How to hide a dialog box of another application completely ? Pin
«_Superman_»11-Nov-09 12:04
professional«_Superman_»11-Nov-09 12:04 
QuestionAdd dual COM interface to non-MFC application [solved] Pin
jmen@moc11-Nov-09 11:16
jmen@moc11-Nov-09 11:16 
AnswerRe: Add dual COM interface to non-MFC application Pin
Stuart Dootson11-Nov-09 11:41
professionalStuart Dootson11-Nov-09 11:41 
GeneralRe: Add dual COM interface to non-MFC application Pin
jmen@moc11-Nov-09 11:55
jmen@moc11-Nov-09 11:55 
AnswerRe: Add dual COM interface to non-MFC application [solved] Pin
«_Superman_»11-Nov-09 11:55
professional«_Superman_»11-Nov-09 11:55 
QuestionProgramatically change paper size during execution of PageSetupDlg Pin
hx200011-Nov-09 11:06
hx200011-Nov-09 11:06 
Question[Message Deleted] Pin
hunter12348311-Nov-09 9:26
hunter12348311-Nov-09 9:26 
AnswerRe: Result search clustering using salient phrase extaction Pin
Richard MacCutchan11-Nov-09 9:50
mveRichard MacCutchan11-Nov-09 9:50 
QuestionHow to get a process name from process ID ? Pin
hongheo7611-Nov-09 9:25
hongheo7611-Nov-09 9:25 
AnswerRe: How to get a process name from process ID ? Pin
Randor 11-Nov-09 9:43
professional Randor 11-Nov-09 9:43 
GeneralRe: How to get a process name from process ID ? Pin
hongheo7611-Nov-09 10:37
hongheo7611-Nov-09 10:37 
GeneralRe: How to get a process name from process ID ? Pin
Randor 11-Nov-09 11:18
professional Randor 11-Nov-09 11:18 
AnswerRe: How to get a process name from process ID ? Pin
wangningyu11-Nov-09 21:37
wangningyu11-Nov-09 21:37 
General[OT] Re: How to get a process name from process ID ? Pin
David Crow12-Nov-09 5:26
David Crow12-Nov-09 5:26 
GeneralRe: [OT] Re: How to get a process name from process ID ? Pin
wangningyu12-Nov-09 15:53
wangningyu12-Nov-09 15:53 

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.