How to create a timer in C ++? I tried SetTimer with USER_TIMER_MINIMUM but it is slow, you need a timer with an interval of more than 60 times per second

  • Why not use the standard <chrono> ? - wrbtmrwbt
  • And how to use it, do not tell? You can add a reply with the button edit . - 0xdb
  • @wrbtmrwbt, And where did you see the timers in chrono? - freim pm

1 answer 1

Yes, WM_TIMER for serious tasks is poorly suited. Try the Timer API - in theory it provides exact timers with high resolution.