Following some comments on the dependency to version 4 of the .Net framework, I rewrote ForbidSleepingMode in C++. You can open and compile the project with Qt (open source). The source code is of course updated. The mandatory screenshot as well 🙂
As you can see, I took the opportunity to add a small field where you can specify your own interval at which the program will “tickle” your computer.