how can you stop the proceses runin in the comp or task mgr ..
-
Hi every one; am tryin to make an antivirus, and i am having a problem tryin to figure out how i can stop a process that is running, i.e how can i make the AV to stop a virus process thats running, Also if you know how i can clean the registry with the AV you can assist me. THANX in advance
-
Hi every one; am tryin to make an antivirus, and i am having a problem tryin to figure out how i can stop a process that is running, i.e how can i make the AV to stop a virus process thats running, Also if you know how i can clean the registry with the AV you can assist me. THANX in advance
Have a look at
TerminateProcess
[^]. There are security issues to overcome though. Good luck. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Have a look at
TerminateProcess
[^]. There are security issues to overcome though. Good luck. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]I think generaly its better you didnt use of TerminaterProcess.
-
I think generaly its better you didnt use of TerminaterProcess.
Even with viruses? Oh Hamid, I know, you are a really kind guy :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Even with viruses? Oh Hamid, I know, you are a really kind guy :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]I dont think we can success with terminateProcess for kill viruses of memory. ;P
-
I dont think we can success with terminateProcess for kill viruses of memory. ;P
Do you suggest an hammer?
TerminateProcess
in fact is quite effective and rude on killing processes.If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Do you suggest an hammer?
TerminateProcess
in fact is quite effective and rude on killing processes.If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]Some years ago I decided to make an antivirus so I said I need to TerminateProcess and TerminateThread,SuspendThread,ResumeThread,.. and started but for some processes when I used of TerminateProcess it kill each process immediatly but I got repeated runtime errors or about TerminateThread you can use of this function for kill some threads of a process but it produces serious errors.
-
Some years ago I decided to make an antivirus so I said I need to TerminateProcess and TerminateThread,SuspendThread,ResumeThread,.. and started but for some processes when I used of TerminateProcess it kill each process immediatly but I got repeated runtime errors or about TerminateThread you can use of this function for kill some threads of a process but it produces serious errors.
The hammer is the alternative to
TerminateProcess
: you can't expect the virus terminating gracefully whenever you ask it. BTW, you don't needTerminateThread
stuff. :-DIf the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
The hammer is the alternative to
TerminateProcess
: you can't expect the virus terminating gracefully whenever you ask it. BTW, you don't needTerminateThread
stuff. :-DIf the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]TerminateThread was an example not for this object. :-D
-
TerminateThread was an example not for this object. :-D
TerminateThread
is usually bad.TermintateProcess
is almost always bad. On the other hand viruses deserve hammers andTerminateProcess
is your software hammer. :laugh:If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]modified on Friday, February 01, 2008 9:38:34 AM
-
TerminateThread
is usually bad.TermintateProcess
is almost always bad. On the other hand viruses deserve hammers andTerminateProcess
is your software hammer. :laugh:If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]modified on Friday, February 01, 2008 9:38:34 AM
Yeah thats right. :)