Esconder aplicacion

09/11/2004 - 20:03 por Juany | Informe spam
Hola a todos!

Tengo mi sistema, pero necesito que la aplicación no se vea en la lista de
procesos al presionar [Ctrl] + [Alt] + [Supr]

De antemano muchas gracias!

-
PortalFox :: Nada corre como un zorr
http://www.portalfox.co

PortalFox - NNTP Forum Gatewa
 

Leer las respuestas

#1 Ducky
11/11/2004 - 00:39 | Informe spam
LOCAL n_CurrProc

DECLARE LONG RegisterServiceProcess IN KERNEL32.DLL ;
LONG ProcessID, ;
LONG ServiceFlags

DECLARE LONG GetCurrentProcessId IN KERNEL32.DLL ;

&& obtiene el identificador de proceso
n_CurrProc = GetCurrentProcessId()

lOcultarApp = .f.
IF lOcultarApp = .T.

&& remueve el flag (bandera) de servicio
RegisterServiceProcess(n_CurrProc, 1)

ELSE

&& crea el falg (bandera) de servicio de la aplicación
RegisterServiceProcess(n_CurrProc, 0)

ENDIF

"Juany" escribió en el mensaje
news:
Hola a todos!

Tengo mi sistema, pero necesito que la aplicación no se vea en la lista de
procesos al presionar [Ctrl] + [Alt] + [Supr]

De antemano muchas gracias!


PortalFox :: Nada corre como un zorro
http://www.portalfox.com

PortalFox - NNTP Forum Gateway

Preguntas similares