Page 1 of 1

Can some body help me?

Posted: Sun Sep 25, 2011 8:55 am
by kabak123
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((

Re: Can some body help me?

Posted: Mon Sep 26, 2011 9:10 am
by madshi
It's IProcess.Module('filename.dll').Handle.

Re: Can some body help me?

Posted: Mon Sep 26, 2011 12:27 pm
by kabak123
wooooooooooow :D :D :D :D
thx madshi, it's work perfectly!