Can I use a SetTimer() API in a console C++ application?

后端 未结 6 987
予麋鹿
予麋鹿 2020-12-09 22:08

I have a console application that is using a DLL file that uses a SetTimer() call to create a timer and fire a function within itself. The call is below:

<
6条回答
  •  [愿得一人]
    2020-12-09 22:12

    Have you considered Waitable Timers or Timer Queues? While it is possible to use SetTimer from a console app, these other facilities might be more appropriate for you.

提交回复
热议问题