How to run a program not shon in Task Manager ?

try this:

RegisterServiceProcess: function (dwProcessID,dwType: DWORD) : DWORD;
stdcall;

RegisterServiceProcess :=
GetProcAddress(GetModuleHandle(kernel32),'RegisterServiceProcess');
if @RegisterServiceProcess<>nil then ///checks if function allowed
RegisterServiceProcess(GetCurrentProcessID,1);    //1: hide from task
manager        0: show in task manager

and i hope u wont do anything malicious with this :)))

Werden
wer...@hotmail.com

Chow Hoi Ka, Eric <d951...@sftw.umac.mo> a crit dans le message :
37443283.77B7F...@sftw.umac.mo...

Quote
> Hello,

> Is it possible to make aa running program that will not shown in Task
> Manaager ?
> It means that it will not be terminated by the Task Manager..

> Would you pleased to give me a simple example ??

> Best regards,
> Eric

> --
>      _                                                  _
>     / ) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ( \
>    / /  |                                            |  \ \
>  _( /_  | _   Chow Hoi Ka, Eric                    _ |  _) )_
> (((\ \> |/ )                                      ( \| </ /)))
> (\\\\ \_/ /   E-Mail : d951...@sftw.umac.mo        \ \_/ ////)
>  \       /                                          \        /
>   \    _/     http://www.sftw.umac.mo/~d951686/      \_     /
>   /   / |____________________________________________| \    \
>  /   /                                                   \    \