EDITBIN Option /BIND

The /BIND option sets the addresses of the entry points in the import address table for an executable file or DLL. Use this option to reduce load time of a program.

The /BIND option has the following form:

/BIND[:PATH=path]

Specify the program's executable file and DLLs in the files argument on the EDITBIN command line. The optional path argument to the /BIND option specifies the location of the DLLs used by the specified files. Separate multiple directories with semicolons (;). If path is not specified, EDITBIN searches the directories specified in the PATH environment variable. If path is specified, EDITBIN ignores the PATH variable.

By default, the Windows program loader sets the addresses of entry points when it loads a program. The amount of time this takes varies depending on the number of DLLs and the number of entry points referenced in the program.

If a program has been modified with the /BIND option, and if the base addresses for the executable file and its DLLs do not conflict with DLLs that are already loaded, the operating system does not need to set these addresses. In a situation where the files are incorrectly based, the operating system will relocate the program's DLLs and recalculate the entry-point addresses; this adds to the program's load time.