Can some body help me?

delphi package - easy access to kernel objects etc.

Can some body help me?

Postby kabak123 » Sun Sep 25, 2011 8:55 am

Ok, I need read some memory address of other process, but needest address on DLL ('abc.dll'+$00FFFFFF).
For getting DLL handle I try use this simple code:
Code: Select all
uses madKernel;

begin
  dllh := Process('someexe.exe').FindModule('abc.dll').Handle;


But after compile the project i get this error:
Code: Select all
[DCC Error] Unit2.pas(49): E2003 Undeclared identifier: 'FindModule'

and
Code: Select all
'IProcess' does not contain a member named 'FindModule'


so, whow I can get DLL handle of other process and after this read needest memory address?
(sry for my bad english((
kabak123
 
Posts: 2
Joined: Sun Sep 25, 2011 8:37 am

Re: Can some body help me?

Postby madshi » Mon Sep 26, 2011 9:10 am

It's IProcess.Module('filename.dll').Handle.
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Re: Can some body help me?

Postby kabak123 » Mon Sep 26, 2011 12:27 pm

wooooooooooow :D :D :D :D
thx madshi, it's work perfectly!
kabak123
 
Posts: 2
Joined: Sun Sep 25, 2011 8:37 am


Return to madKernel

Who is online

Users browsing this forum: No registered users and 1 guest