Visual Basic Foro

Programación => Visual Basic 6 => Mensaje iniciado por: Cudder en Julio 06, 2012, 08:25:19 am

Título: Make Application Unkillable
Publicado por: Cudder en Julio 06, 2012, 08:25:19 am
Hello guys, I wondered if anyone knew how to make an unkillable process in VB6? Thanks a lot!
Título: Re:Make Application Unkillable
Publicado por: LeandroA en Julio 06, 2012, 10:47:19 pm
Cobein is the right person for your question, had cast a module or dll for it.  I have not got the original code
Título: Re:Make Application Unkillable
Publicado por: Cudder en Julio 07, 2012, 10:15:02 am
Cobein is the right person for your question, had cast a module or dll for it.  I have not got the original code

Ive seen on HH something similar but I cannot find it back. Sir cobein, I need you man!! Can you post the code please cob?

My idea is to make my main process unkillable, that main process will do persistence (once second process gets closed, main process will re-inject) but if main process is closed it will no longer do the persistence so I think making it unkillable would be the best solution.

Thanks
Título: Re:Make Application Unkillable
Publicado por: cobein en Julio 07, 2012, 12:10:27 pm
Ill look for that code, not sure if I have it with me anymore, anyways the source your talking about uses a global hook to accomplish that but there are many ways to do it, you can set the process as critical too, its quite easy.

http://www.codeproject.com/Articles/43405/Protecting-Your-Process-with-RtlSetProcessIsCriti
Título: Re:Make Application Unkillable
Publicado por: Cudder en Julio 09, 2012, 10:04:28 am
Ill look for that code, not sure if I have it with me anymore, anyways the source your talking about uses a global hook to accomplish that but there are many ways to do it, you can set the process as critical too, its quite easy.

http://www.codeproject.com/Articles/43405/Protecting-Your-Process-with-RtlSetProcessIsCriti

Yeah I already have this but I was more looking for a real persistence, I didn't see much in VB.