Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Member 519651 wrote:
It happens only when my application is running.


Hi,

Usermode applications should have no effect on the system clock. I would suspect that a device driver may be effecting the clock interrupt.In fact... what you are describing sounds somewhat normal. What you are descibing is called clock crystal drift.

You should investigate the GetSystemTimeAdjustment Function[^] if you want to attempt to compensate for the clock drift.

If you need a higher resolution clock... then you may need to purchase special hardware. Its as simple as that.

Anyway here is what Larry Osterman had to say about it:

One in a million redux[^]

Best Wishes,
-David Delaune
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 
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 

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.