Bagikan melalui


Binding Imports

The default linker behavior is to create a bindable import address table for the delay-loaded DLL. If the DLL is bound, the helper function will attempt to use the bound information instead of calling GetProcAddress on each of the referenced imports. If either the timestamp or the preferred address do not match those of the loaded DLL, the helper function will assume the bound import address table is out of date and will proceed as if it does not exist.

If you never intend to bind the DLL's delay-loaded imports, specifying /delay:nobind on the linker's command line will prevent the bound import address table from being generated and consuming space in the image file.

See Also

Concepts

Linker Support for Delay-Loaded DLLs