Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1619
  • Last Modified:

Sleep and wait for timer in Visual c++

I'd like to make my app sleep until it recieves a timer message. How should I code it to ensure hardly any processor time is taken up when my app is sleeping.
0
coles01
Asked:
coles01
1 Solution
 
jkrCommented:
Well, if you want to wait for a timer message, the API of choice will be 'MsgWaitForForMultipleObjects()' or 'MsgWaitForForMultipleObjectsEx()'
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now