title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
/ALLOWBIND (Prevent DLL Binding) |
11/04/2016 |
|
|
30e37e24-12e4-407e-988a-39d357403598 |
/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.
-
Open the project's Property Pages dialog box. For details, see Set compiler and build properties.
-
Expand Configuration Properties, Linker, and select Command Line.
-
Enter
/ALLOWBIND:NO
into Additional Options.
- See xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.AdditionalOptions%2A.
Setting Linker Options
MSVC Linker Options
BindImage function
BindImageEx function