954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

System Timeout

I want to make a program that is run when a user logs on, and after a set period of time, prompts for administrator permission to extend time limit. If there is no permission given, the program puts the computer in sleep mode and requires administrator permission to resume before a set cool-down time.

Does anyone have any ideas as to how one might go about doing this? Such as any tutorials or possible approaches? I would love to be able to do it in C++, but if needed, I can use whatever other languages might help.

I use Windows 7, Dev-C++ 4.9.9.2, and I know MS-DOS (i'm sure it'll be needed).

Thanks in advance!

tawes01
Light Poster
37 posts since Oct 2010
Reputation Points: 8
Solved Threads: 5
 

This will explain how to add a program to startup folder

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 
This will explain how to add a program to startup folder


Thanks for the quick response, it was very helpful! Now how do I set up a timer that calls a function after, say, an hour?

tawes01
Light Poster
37 posts since Oct 2010
Reputation Points: 8
Solved Threads: 5
 

Might also consider this for authentication.

Also, this for timers.

Duki
Nearly a Posting Virtuoso
1,475 posts since Jun 2006
Reputation Points: 817
Solved Threads: 32
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: