DLL Base Address Generator This tool will generate a DLL Base Address for your VB (COM) DLLs. This is basically a random address generator, but it complies with the standard rules for DLL Base Addresses for COM components. While you could create a log of all DLLs used within your organization and strictly coordinate which DLL is using which DLL Base Address, it seems that time would be better spent to simply pick a valid address and move on. The overhead in tracking all of these entries would outweigh the benefit gained (unless you put the highest premium on system performance). As you may know, the DLL will attempt to be loaded into the address specified within it. If this address is already occupied, then the system will relocate the component to an available address. The problem is that VB starts all DLLs with a default Base Address of &H11000000. If all your components use this address, then every component (except the first to load) will need to be relocated - slowing system performance. A simple way to avoid this is to choose a different DLL Base Address (on the Compile tab in the project properties) for each DLL in your organization. This generator makes that a lot easier. To generate a DLL Base Address, simply click the button. You will see the Base Address in hex. This should be pasted into the DLL Base Address textbox on the Compile tab in the project properties).
If you would like to write your own utility that generates a DLL base address, you can use our web service.
Copyright © 2003 by Montgomery Software, Inc.
Products for: Developers Consultants Healers / Doctors Researchers Pocket PC Enterprise Products Application Security Articles for: Management Developers Consultants Registered Users Login Sign Up