In Delphi,
How to get the Base Address of a DLL loaded in RAM ? the name of the DLL is known, let's say ABC.DLL.
And then how to disply the memory content of (Base address of that DLL +
0x009B468C) ?
Thanks.
How to get the Base Address of a DLL loaded in RAM
Then you can use this:
Alternatively you can use the toolhelp functions. Those are not available in NT4, though, while madKernel works in NT4, too.
Code: Select all
uses madKernel;
begin
baseAddr := Process('targetProcess.exe').FindModule('some.dll').Handle;