Redigera

Dela via


/RELEASE (Set the Checksum)

/RELEASE

Remarks

The /RELEASE option sets the Checksum in the header of an .exe file.

The operating system requires the Checksum for device drivers. Set the Checksum for release versions of your device drivers to ensure compatibility with future operating systems.

The /RELEASE option is set by default when the /SUBSYSTEM:NATIVE option is specified.

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. Click the Linker folder.

  3. Click the Advanced property page.

  4. Modify the Set Checksum property.

To set this linker option programmatically

See also

MSVC linker reference
MSVC Linker Options