Delphi: install ImageBase larger than 32-bit (for a 64-bit Windows application)

I played with the directive {$IMAGEBASE}in Delphi, but I see that I can only put the value below $FFFFFFFF(32-bit).

I am compiling as x64 and I need to install an image database larger than 32 bits, but Delphi ignores the higher 32-bit DWORD in my 64-bit database.

Has anyone been able to set the value above $FFFFFFFFas ImageBase for Delphi?

I need this because I need to test my application in a “high” ImageBase (due to some hook tests, etc.)

Thank!

+4
source share
1 answer

Delphi , PE, .

, , Embarcadero ​​, . EDITBIN /REBASE MS toolchain.

64- VCL, XE7, :

editbin /rebase:base=0xffffff0000 Project1.exe

Process Hacker, .

enter image description here

+8

Source: https://habr.com/ru/post/1679429/


All Articles