Hello,
here's one for you:
I am launching an application using CerateProcess with
CREATE_NO_WINDOW flag.
I don't want a window because I launch several hundreds of these
processes.
I do, however, want the processes to appear in the applications tab of
the task manager so I can terminate them gracefully (end process kills
them immediately while end task sends a signal I can catch and release
resources).

So far, I found that in order for an application to be on the
applications tab it needs to be in the foreground. Is there a way to
have an application with no window run in the foreground?

Any other suggestion achieving the same goal of numerous processes
launched, with little memory usage and without opening cluttering
windows, that can be terminated with end task will be welcomed.

Thanks

Eran