Determine own file from being closed
Posted: Thu Aug 26, 2010 3:09 pm
I am trying to prevent my program from being closed. So, I hooks TerminateProcess etc.
DLL:
if myprogram then
dontkill
else
goahead
What is the best way to check "myprogram" is really my program?
File name?
Hash?? It can make system slower if the file size is big..
Any idea?
DLL:
if myprogram then
dontkill
else
goahead
What is the best way to check "myprogram" is really my program?
File name?
Hash?? It can make system slower if the file size is big..
Any idea?