Results 1 to 11 of 11

Thread: Accurate timer function

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    Slovenia
    Posts
    11
    Hi, guys!
    Sorry, but I don't quite get it. Are those API functions? (timeSetEvent, QuerryPerformanceCounter,...)
    I'm not really familliar with multimedia, but still... if this can be a good solution, I would like to know more, I really do.

    And yes, I've tried that code above with GetTickCount API, but it caused some storm in my brain cells.
    I put a couter in Do-Lopp just to see, how it works and redirect an output in the List box (just n=n+1 for each loop). Quess what - it didn't return the same value each time it loops (it varried for about 20%)!
    Why?

    If I may, I have 1 more Q:

    How to make a Command button behave like this:
    When I press it (and keep it pressed) the counter should increment its value, and when I depress it (let it go), it should stop. I was thinking about KeyDown or MouseDown event but ither of them wouldn't work.
    I attached a file for you to look!

    Any ideas?

    Regards! Ales Zigon
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width