Sign in to follow this  
Followers 0
qazwsx

Keep Time

3 posts in this topic

Im working on my privilege suspender program and was trying to make an option to suspend privileges for certain amount of time. Right now i have it set to run off the computers clock, but the clock could easily be altered so it is not dependable. What would you guys recommend i do to keep time that does not hog computer resources?

Share this post


Link to post
Share on other sites



maybe find a website that has it that you can read it from so that the user changing the computer time doesnt effect it

Share this post


Link to post
Share on other sites

Im working on my privilege suspender program and was trying to make an option to suspend privileges for certain amount of time. Right now i have it set to run off the computers clock, but the clock could easily be altered so it is not dependable. What would you guys recommend i do to keep time that does not hog computer resources?

just use TimerInit() and TimerDiff()

:)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0