windows - How to run an empty background process with a specific name? -


I always have a certain process running in the background, so that it can be seen in the windows task manager, I am giving

This process should not really do anything, I care about everyone that whenever I open Task Manager and choose processes.

One way to achieve this is to copy Notepad.exe, change its name to something and then run it. The problem is that I'm using PC on an open window of Notepad every time. I need to run on the background

If it matters, then I'm Windows 7.

Thank you.

You are looking for something like this:

  #include & lt ; Windows.h & gt; Ent APITRT_TWannmann (Histence H Instance, Hunsstäss pre Preinstance, LPT Stamp LPCMDline, Int NCMD Show) {MSG msg; While (GetMessage (& msg, NULL, 0, 0)) returns 0; }   

This is the simplest Windows program, it's absolutely nothing and does not consume the CPU.

I can not imagine why you want it, but this is what you describe!

Comments