• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Detect when system is idle

I am looking for C++ program or library to detect for a period of time when system is idle.  This program or library should allow me to set a time frame and just return an on/off value to my program.
0
cwchaw
Asked:
cwchaw
1 Solution
 
MikeP090797Commented:
If you are talking about windows environment, and you are suing MFC, the OnIdle member of CWinApp is called when app is idle.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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