Jump to content

Need a C++ or C routine to freeze windows time.

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
ankur.mittal

ankur.mittal

    Newbie

  • Members
  • Pip
  • 3 posts
I want a source code in c++ or c to freeze the windows time and control shoud be with the program so tha we can resume the time and when it resumes it should begin from the previous state only but should not be updated automatically.please help me with this i need this for some research work

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I seriously doubt you can do this. The clock is in the BIOS hardware, and is NOT meant to be stopped. You could probably write a program to constantly set the time to a specific value, but you are not likely to be able to make it just stop, completely.

On a side note, what kind of research would require stopping the system clock?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
ankur.mittal

ankur.mittal

    Newbie

  • Members
  • Pip
  • 3 posts
i am talking about stopping windows clock not the bios watch.
Bios watch works in binary it is almost impossible to change it but window clock can be manually adjusted so it is possible to that through a program. right now i hav no knowledge working with dlls thats why i am not able to do that.

And about research work working on an image processing work and studying runge kutte and arnold cat map algo so in that i require for a small part to stop windows clock and not the bios clock.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The windows clock is tied to the bios clock.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog