Solved

timer...

Posted on 2001-08-16
4
161 Views
Last Modified: 2010-04-06
Hello,... yes you. Thanx for opening this question. This is what i need:
some system environment number. I believe it's a longint. Since searching is inoperative I'll have to ask a question. The number is time related, and it's incremental.

this is how it goes.

time 1:  system var = 78436874
       |
       |
   system doing some la la la code and stuff...
       |
       |
time 2:  system var = 78496874

time 2 - time 1 = 60000 msec?

does this ring a bell? hope you'll post the code i need. This is not a hard question (to my opinion) yet i have a some points to spare...

how does 303 points sound like?

hmm
ee says:
You must specify a numeric value for this question of at least zero and no greater than 300

k 300
0
Comment
Question by:God_Ares
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 300 total points
ID: 6394993
time1 := GetTickCount;
....
time2 := GetTickCount;
diff := time2 - time1;
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6395002
or am I on the wrong track..?
0
 
LVL 7

Author Comment

by:God_Ares
ID: 6395088
k that was it. Thanx for the rapid reply.

are you still up or are you @ WORK?


me: still up....
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6396372
No, I went to sleep right after I typed the comments. Now I'm @ work  :o)

Thanks for the points btw.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question