I want process id to inject libary into using madchook,i just know only process name (ex notepad.exe)??
How to get process id from process name using madshi's tool.
Thank in advance.
How to get process id from process name?
hi!
may be i'm wrong, but i think you just have to use following kernelobject property:
for further details look at the "madKernel - IProcess Reference".
bye!
Jay
may be i'm wrong, but i think you just have to use following kernelobject property:
Code: Select all
var NeededProcessID: Cardinal;
...
NeededProcessID := Process( 'notepad.exe').ID;
bye!
Jay
Why this not work!
InjectLibrary(Process("Notepad.exe")->Handle,"empty.dll")
I need to inject empty.dll to opend process (notepad.exe).
// error
[C++ Error] Unit1.cpp(24): E2034 Cannot convert '_di_IHandle' to 'unsigned int'
What's wrong,and how to solve,Thank for any answer?
I need to inject empty.dll to opend process (notepad.exe).
// error
[C++ Error] Unit1.cpp(24): E2034 Cannot convert '_di_IHandle' to 'unsigned int'
What's wrong,and how to solve,Thank for any answer?