[DUG] DLL base addresses

Nicholas Sherlock n_sherlock at ihug.co.nz
Wed Aug 30 13:44:10 NZST 2006


Ross Levis wrote:
> I'm new to writing DLL's and I'm just wondering about a base address to 
> select.  I assume each DLL a program loads requires a unique base 
> address that does not overlap another DLL, is that correct?
>   
Setting a base address in your DLL that doesn't overlap another in your 
target application just speeds things up - it avoids Windows having to 
rebase (Ie. move in memory) your DLL on load to fit in with any other 
DLLs. You won't have any problems if all your DLLs have the same base 
address.

Cheers,
Nicholas Sherlock


More information about the Delphi mailing list