- This predicate is available in the Windows port of SWI-Prolog starting from 6.3.8/6.2.6.
- This predicate fails if Windows does not yet support the underlying primitives. These are available in recently patched Windows 7 systems and later.
- This predicate throws an acception if the provided path is invalid or the underlying Windows API returns an error.
is passed an absolute path to a DLL on a Windows installation
that supports AddDllDirectory() and friends,130Windows 7
with up-to-date patches or Windows 8. SWI-Prolog uses
LoadLibraryEx() with the flags
LOAD_LIBRARY_SEARCH_DEFAULT_DIRS. In this scenario,
%PATH% and not searched.
Additional directories can be added using win_add_dll_directory/2.