Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

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

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Compile tab.

  3. Click the Advanced Compile Options button to open the Advanced Compiler Settings dialog box.

  4. 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.

Community Additions

© 2015 Microsoft