Hide your application from TaskList

(Ctrl + Alt +Del)

 




Put this declaration in the implementation of your form :

 

        Function RegisterServiceProcess ( dwProcessID , dwType : DWord ) : DWord ;

   Stdcall ; External 'KERNEL32.DLL' ;

 

Now, to hide it:

           

    RegisterServiceProcess ( GetCurrentProcessID , 1 ) ;

 

  Show it again:

 

        RegisterServiceProcess ( GetCurrentProcessID , 0 ) ;

 


Back Home Foward