-
Process protection
Hi
I try to hook the api call terminateprocess, to protect my application for killing with the win taskmgr.
I have try the iat hooking example without any results.
http://www.vbforums.com/attachment.p...chmentid=39906
Is there a possible solution?
Joe
-
Re: Process protection
Welcome to the Forums.
Why do you need your process to be un-terminatable?
-
Re: Process protection
Hy
I don't want that someone can kill my application. Because then all important data has been lost.
Joe
-
Re: Process protection
Yeah but that's true of all applications. Processes need to be terminatable, in case they crash or whatever.
Also, bear in mind that code to prevent termination of a process (not that it is possible), and anything else of that nature, could constitute malware - so it is unlikely to be provided on this forum ;)
-
Re: Process protection
What you can do is take precautions from loosing data by doing some kind of auto-archiver or auto-saver until the user actually saves the records data or ???