Solved

timer...

Posted on 2001-08-16
4
160 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
  • 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

Suggested Solutions

Title # Comments Views Activity
Connection between libmysql.dll and MySQL Versions 7 119
Mobile Keyboard covers the display of the TMemo 3 102
oracle global variables 4 80
DBCtrlGrid, Delphi, Scroll 8 59
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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