Re: specifying memory location for DLL load

New Message Reply About this list Date view Thread view Subject view Author view

Ng Pheng Siong (ngps@post1.com)
Sat, 28 Nov 1998 00:09:30 +0800


On Nov 24, staym@accessdata.com wrote:
> Is there any way to tell windows to load a DLL at a specific address?
> If not, is there any way to change the flags on the page it was loaded
> into so as to allow the DLL to be self-modifying?

/usr/local/src/python/Python-1.5.1/PC:$ cat dllbase_nt.txt
In Win32, DLL's are "pre-linked" using a specified base address.
When the DLL is loaded, an attempt is made to place it at
that address. If that address is already in use, a new base address
is selected, and the DLL subject to fixups. Apparently, these
fixups are very slow, and significant performance gains can be
made by selecting a good base address.

This document is to allocate base addresses to core Python
and Python .PYD files, to give a better change of optimal performance.
This base address is passed to the linker using the /BASE
command line switch.

[...]

-- 
Ng Pheng Siong <ngps@post1.com>


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Sat Apr 10 1999 - 01:17:19