I have a project that I am playing with to which I'd like to have it running on my computers only during idle time and then when computer is in use it either pauses the program or runs it at a much lesser CPU priority so that it doesn't cripple the system when hopping on to use it.
Currently I set it to run with a core affinity setting on how hard I want it to hit the cores of the quadcore system. But was thinking if I could wrap this exe that was programmed in C++ around a screensaver and set it to only run when idle, that would make more sense vs stopping the exe and going about what i am doing and then having to click on the shortcut to run it when I am done what i am doing to pick up where it left off.
I've never dabbled in screensaver programming, but interested in learning how to take what I have and make it a screensaver compatible program. I am looking to run it on two computers a Windows 7 and 10 system. Not sure if there are any differences in compatibility to make it work with 1 vs the other or if a screensaver written for 7 is automatically Windows 10 compatible.
Some of the questions I have are ones that the answers in the wrong hands could be used to make a malicious screensaver etc. So I am thinking that maybe someone responding here with interest in assisting me on this via PM might be the smart way to go with this vs posting information here which could be used as a cookbook to making a bad screensaver.
Biggest question I was curious about was if there was a screensaver wrapper that exists to be able to wrap a program around a screensaver shell and have rules for this shell on how the EXE should behave when idle and how it should behave when the computer is suddenly in use my myself or my wife? I did a google search and didnt find anything helpful on a wrapper to make any program created run only when idle and then go dormant or run very slowly when the computer is in use to not impact myself and my wife as users of these 2 computers.
Because I didnt see a wrapper out there, maybe I need to program up a screensaver and add my code to it, but never done it before and figured I'd check here to see if anyone was able to point me in the right direction to myself coding up one that would work for myself.