0

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!

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Duki
0

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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.