AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Operating System Interaction
          • Windows-specific Operating System Interaction
            • win_exec/2
            • win_shell/3
            • win_shell/2
            • win_registry_get_value/3
            • win_folder/2
            • win_add_dll_directory/1
            • win_add_dll_directory/2
            • win_remove_dll_directory/1
    • Packages
Availability::- use_module(library(shlib)).(can be autoloaded)
Source[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.
Availability::- use_module(library(shlib)).(can be autoloaded)
Sourcewin_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.