[Python-Dev] Do we still need BaseAddress in .vcproj files? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Fri Apr 25 23:00:18 CEST 2008


This was partly out of curiosity, and partly because it was quicker doing that than finding a new unique base address to use for a new module I added to my local tree. Rebuilt everything and ran a full regression test, and everything passed. What am I missing? Do we have parts of Python that rely on finding modules at explicit base addresses? Is BaseAddress a relic from the past? Christian or Martin?

As Christian says: specifying the base address so that the addresses don't overlap avoids having Windows to perform relocations on startup.

There is a Microsoft tool (editbin /rebase) to compute non-overlapping base addresses for a given set of DLLs.

Regards, Martin



More information about the Python-Dev mailing list