How kill or suspend one thread of remote process !

delphi package - getting into other processes
Post Reply
break
Posts: 8
Joined: Fri May 23, 2008 1:37 pm

How kill or suspend one thread of remote process !

Post by break »

hello people

I am recent in forum

I need kill one module dll of winlogon that is one persistent notify regedit

so I need kill or suspend one thread in delphi of one process winlogon.exe peer exemple

tksssss

Detail : I killed with tool graphic of systeinternals procexp.exe

he continue winlogon.exe work and kill this thread
if possible code example

if not have one code i would of one toll comannd line that make this

thanksss nedd urgent people

tks
madshi
Site Admin
Posts: 10527
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I'm sorry, but I'm not sure what you really need. Are you talking about a colorful mixture of modules, threads, dlls. Now what do you really want? Do you want to terminate a thread? Or do you want to unload a module/dll? And what exactly do you know about the thread/module which you want to terminate/unload?

And what purpose do you need this for?
break
Posts: 8
Joined: Fri May 23, 2008 1:37 pm

Madshi I want kill one module nofify that is one TID

Post by break »

Madshi I want kill one module nofify that is one TID winlogon.exe

example..


i use the procexp.exe of sysinternals..


right button in winlogon.exe -> properties -> threads

he list various Dll Example

themodule.dll ok?

then.. I need kill or suspend this DLL!!

UNDERSTAND?

the tool of sysinternals make this,, but i need one code u understand?

:) thanks

sorry my bad english
madshi
Site Admin
Posts: 10527
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

You can use InjectLibrary(targetProcessHandle, 'themodule.dll'). Is that what you need?
Post Reply