CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    10

    Application crashes when PC clock change

    Hi.

    Strange thing:
    When I change the clock of the PC (XP SP2), something link current time is 12:03:34 to 12:05:34, my application crash.
    nothing in application log, though every method has try-catch.
    nothing in event log...

    Can anyone help?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Application crashes when PC clock change

    Sorry, my psychic debugger isn't working today. How about showing us the code that is crashing?

  3. #3
    Join Date
    Jul 2010
    Posts
    82

    Re: Application crashes when PC clock change

    Show us the exception details - What does the message and data say int he exception object???

  4. #4
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Application crashes when PC clock change

    Do you work with time in your application in some way? I mean operations like comparig times, computing differencies, division, timing, polling etc... Maybe if you change the time a race condition occures.

    Does it matter if you change the time forward and backward?
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  5. #5
    Join Date
    Aug 2009
    Posts
    10

    Re: Application crashes when PC clock change

    Sorry, guys.

    The crush was not by my program but from a application that monitors it.

    Sorry and thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured