Eric's Blog

Day to day experience in .NET
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

Dll Base Address

I've got a feeling that most of us have forgotten the base address for dll:s when .NET arrived. Back in the VB6 days I guess at least some of us did set the base address, but for the same reasons as back then, it's worth setting the base address to something else than the default 0x400000 (&H11000000 for VB), at least for reusable assemblies. The setting is a little bit hidden, but you can find it from Project Properties -> Build (Compile for VB) -> Advanced.
So, how do I know what value to set the base address too? Well, one easy way that I use, is too look at the properties of a dll in an application like Process explorer (from sysinternals) and then use the address where the dll is loaded as the base address.
Published den 19 mars 2006 20:15 by ericqu
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems