Windows DatabaseebooksStatistical Information

LWE10350 : Howto rebase a DLL under windows

Symptom:

You would like to optimise your system and would like to rebase your libraries

Cause:

none

Solution:

Some compilers always use certain addresses as default. This leads to dll collisions which will be handled by the OS automatically by rebasing. This can also be done

before! In that case the loading can be optimised. Please note that this performance increase is minimal!

e.g. rebase -b 0x6000000 *.dll

To prevent load address collisions you can use the rebase utilty that comes with Visual Studio and the Platform SDK. Use the rebase utility to reassign the base

addresses of the Application ServerDLLs to prevent relocations at load time and increase the available process memory.

Rebasing can be done on any DLL. To rebase DLL's you need at least windows 2000 and the Microsoft Framework SDK rebase utility. You can check if the rebase was

successfull with the Dependency Walker.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics