Search code examples
c++winapitimertimed-events

Creating a window application that will perform certain action after every 10 minutes


I was wondering would I still need to use a basic game loop for this particular operation?


Solution

  • You could create a timer and perform that action on WM_TIMER message handling or on timer proc function you specify when creating the timer.

    See SetTimer and WM_TIMER.