Title: Hiding your app from the task list.
Question: How do I hide my app from the task list?
Answer:
{ This is prety straight forward. }
program ...
...
const
RSPSIMPLESERVICE = 1;
RSPUNREGISTERSERVICE = 0;
function RegisterServiceProcess (dwProcessID, dwType: DWord) : DWord;
stdcall; external 'KERNEL32.DLL';
...
begin
...
// Hide from task list (Ctrl-Alt-Del list)
RegisterServiceProcess(GetCurrentProcessID, RSPSIMPLESERVICE);
...
// And re-appear in the Task List
RegisterServiceProcess (GetCurrentProcessID, RSPUNREGISTERSERVICE);
...
end.