/ALLOWBIND (Prevent DLL Binding)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

/ALLOWBIND (Prevent DLL Binding)

/ALLOWBIND[:NO]

/ALLOWBIND:NO sets a bit in a DLL's header that indicates to Bind.exe that the image is not allowed to be bound. You may not want a DLL to be bound if it has been digitally signed (binding invalidates the signature).

You can edit an existing DLL for /ALLOWBIND functionality with the /ALLOWBIND option of the EDITBIN utility.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Command Line property page.
  4. Type the option into the Additional Options box.

To set this linker option programmatically

See AdditionalOptions Property.

See Also

Setting Linker Options | Linker Options | BindImage | BindImageEx

Show:
© 2016 Microsoft