Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: passing string as first parameter in sprintf Pin
Michael Schubert11-Nov-09 22:48
Michael Schubert11-Nov-09 22:48 
QuestionRe: passing string as first parameter in sprintf Pin
David Crow12-Nov-09 5:21
David Crow12-Nov-09 5:21 
QuestionHow to hide ListBox Pin
Anu_Bala11-Nov-09 18:28
Anu_Bala11-Nov-09 18:28 
AnswerRe: How to hide ListBox Pin
KingsGambit11-Nov-09 18:38
KingsGambit11-Nov-09 18:38 
Questionneed help understanding udp packet code... Pin
homeboyimperial11-Nov-09 16:45
homeboyimperial11-Nov-09 16:45 
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 
I don't handle clock interrupt in my application but may be one of the drivers (camera) does. I wrote a sample app to display the values returned by GetSystemTimeAdjustment and found that the interval and increment values are 15.625 ms and that adjustment is disabled. The MSDN help says that when time adjustment is disabled then the clock will synchrnoize using "other mechanism" and make a noticeable jump.

I am guessing that the system clock is synchronizing every hour to the RTC on the motherboard. The questions I have is:

1. Why is it syncing exactly every hour?

2. What can I do to make it sync say every 10 minutes or so?

I'd appreciate any thoughts/ideas on this matter.
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 
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 

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.