I have a TV-card installed on my computer, which has a remote
controller.
so when I go to sleep, I can close the TV-programm via the remote
controller, but the computer is still on. I have to leave my bed and
shutdown the computer ...
I just want to write a small program that if the TV-programm is closed,
this small programm should then shut down my computer automatically.
I think the only way is to read the process name of this TV-programm
from the Windows Task-Manager. But how?
ps: I have VC++ at hand. maybe there is already some nice function
provided.