How to: Specify a Base Address for a DLL
The DLL base-address project property is used to specify a default base address when creating a DLL. The DLL base-address property can be set in the Advanced Compiler Settings dialog box, accessible from the Compile page of the Project Designer.
To specify a base address for a DLL
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Compile tab.
Click the Advanced Compile Options button to open the Advanced Compiler Settings dialog box.
In the DLL base address field, enter the hexadecimal number to use as a base address, and then click OK.