Can some body help me?

delphi package - easy access to kernel objects etc.
Post Reply
kabak123
Posts: 2
Joined: Sun Sep 25, 2011 8:37 am

Can some body help me?

Post 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((
madshi
Site Admin
Posts: 10339
Joined: Sun Mar 21, 2004 5:25 pm

Re: Can some body help me?

Post by madshi »

It's IProcess.Module('filename.dll').Handle.
kabak123
Posts: 2
Joined: Sun Sep 25, 2011 8:37 am

Re: Can some body help me?

Post by kabak123 »

wooooooooooow :D :D :D :D
thx madshi, it's work perfectly!
Post Reply