|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Specify a Base Address for a DLL
In Class Library and Control Library projects, you can set the DLL base-address property by using the DLL base address field in the Advanced Compiler Settings dialog box. This dialog box is available 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.
The default DLL base address is displayed in the DLL base address field. Enter the hexadecimal number to use as a base address, and then click OK. You can change this value only in Class Library and Control Library projects.