| Did you know ... | Search Documentation: |
| Predicate win_add_dll_directory/2 |
win_add_dll_directory(+AbsDir,
-Cookie)
If open_shared_object/2
is passed an absolute path to a DLL on a Windows installation
that supports AddDllDirectory() and friends,149Windows 7
with up-to-date patches or Windows 8. SWI-Prolog uses LoadLibraryEx()
with the flags
LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR and
LOAD_LIBRARY_SEARCH_DEFAULT_DIRS. In this scenario,
directories from %PATH% are not searched.
Additional directories can be added using win_add_dll_directory/2.