Click here to Skip to main content
15,903,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPC Losing Time Pin
LittleYellowBird4-Jul-02 21:30
LittleYellowBird4-Jul-02 21:30 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:02
Olli5-Jul-02 2:02 
GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 2:20
LittleYellowBird5-Jul-02 2:20 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:44
Olli5-Jul-02 2:44 
GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 3:16
LittleYellowBird5-Jul-02 3:16 
GeneralRe: PC Losing Time Pin
Rutger Ellen5-Jul-02 3:34
Rutger Ellen5-Jul-02 3:34 
GeneralRe: PC Losing Time Pin
Venet5-Jul-02 4:17
Venet5-Jul-02 4:17 
GeneralRe: PC Losing Time Pin
Roger Wright5-Jul-02 4:38
professionalRoger Wright5-Jul-02 4:38 
Alison Pentland wrote:
Surely the time is generated from an RTC (Real Time Clock) chip on the motherboard

The RTC is only read on startup - Windows maintains its own system time from then on. If you're running your code in a fairly tight loop, with constant access to the serial ports, console, and hdd, it may be missing a number of clock update cycles. I've read elsewhere that the clock maintenance process isn't a real high priority, and can be easily bumped by user processes.

Try putting the serial I/O in a separate thread, if it isn't already. I haven't worked a great deal with serial I/O in a long time, but in researching an aborted project that would have needed it, I stumbled across a couple of articles that recommend this as a way to prevent blocking other processes.

There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
QuestionCannot compile .h file? Pin
ivex4-Jul-02 20:56
ivex4-Jul-02 20:56 
AnswerRe: Cannot compile .h file? Pin
Christian Graus4-Jul-02 22:16
protectorChristian Graus4-Jul-02 22:16 
AnswerRe: Cannot compile .h file? Pin
Alexandru Savescu5-Jul-02 2:14
Alexandru Savescu5-Jul-02 2:14 
GeneralRegistering OCXs Pin
Jerome Conus4-Jul-02 20:16
Jerome Conus4-Jul-02 20:16 
GeneralTransparent MFC windows with MSVS 6.0 Pin
4-Jul-02 19:20
suss4-Jul-02 19:20 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
Christian Graus4-Jul-02 19:57
protectorChristian Graus4-Jul-02 19:57 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
5-Jul-02 10:19
suss5-Jul-02 10:19 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
Christian Graus5-Jul-02 17:39
protectorChristian Graus5-Jul-02 17:39 
GeneralConversion Pin
4-Jul-02 19:18
suss4-Jul-02 19:18 
GeneralRe: Conversion Pin
Christian Graus4-Jul-02 19:59
protectorChristian Graus4-Jul-02 19:59 
GeneralRe: Conversion Pin
4-Jul-02 23:02
suss4-Jul-02 23:02 
QuestionIs there any way to send/receive fax by using TAPI? Pin
blongtq4-Jul-02 19:07
blongtq4-Jul-02 19:07 
AnswerRe: Is there any way to send/receive fax by using TAPI? Pin
Michael P Butler5-Jul-02 1:45
Michael P Butler5-Jul-02 1:45 
GeneralIs ther anyway to disable the menu animations for menus Pin
MaTrIX2k24-Jul-02 18:42
MaTrIX2k24-Jul-02 18:42 
GeneralTo CSocket or not to CSocket.... Pin
George4-Jul-02 17:28
George4-Jul-02 17:28 
GeneralRe: To CSocket or not to CSocket.... Pin
Nish Nishant4-Jul-02 17:44
sitebuilderNish Nishant4-Jul-02 17:44 
GeneralResource Copy Problem Pin
chen4-Jul-02 17:09
chen4-Jul-02 17:09 

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.