[det]win_add_dll_directory(+AbsDir)Add AbsDir to the directories where dependent DLLs are
searched on Windows systems.
- Errors
domain_error(operating_system, windows) if the current OS
is not Windows.
win_add_dll_directory(+AbsDir)This predicate adds a directory to the search path for dependent DLL
files. If possible, this is achieved with win_add_dll_directory/2.
Otherwise, %PATH% is extended with the provided directory.
AbsDir may be specified in the Prolog canonical syntax. See
prolog_to_os_filename/2.
Note that use_foreign_library/1
passes an absolute path to the DLL if the destination DLL can be located
from the specification using absolute_file_name/3.