Breyta

Deila með


/ALLOWISOLATION (Manifest lookup)

Specifies behavior for manifest lookup.

Syntax

/ALLOWISOLATION[:NO]

Remarks

The /ALLOWISOLATION:NO linker option indicates DLLs are loaded as if there was no manifest and causes the linker to set the IMAGE_DLLCHARACTERISTICS_NO_ISOLATION bit in the optional header's DllCharacteristics field.

/ALLOWISOLATION causes the operating system to do manifest lookups and loads.

/ALLOWISOLATION is the default.

When isolation is disabled for an executable, the Windows loader won't attempt to find an application manifest for the newly created process. The new process won't have a default activation context, even if there's a manifest inside the executable or placed in the same directory as the executable with name <executable-name>.exe.manifest.

For more information, see Manifest files reference.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Linker > Manifest File property page.

  3. Modify the Allow Isolation property.

See also

MSVC linker reference
MSVC linker options