|
-
May 22nd, 1999, 01:09 AM
#1
time running?
is there a way to determine how long your app has been running (oen that youve made) and then sotre it.. so youc an display to the user later how long the application in minutes of seconds or whatever he has had it running?
-joe
?
-
May 22nd, 1999, 06:31 PM
#2
Re: time running?
Use the GetTickCount() API function. The declares for it are in the API viewer I believe. Get a tick count at the beginning and at the end of whatever you are timing ... and subtract them. The tick count resets every 41 days or so ... therefor you need to test if the end count is lower than the begin count in your code and make the proper adjustment.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|