12.2.4 Low-level operations on shared libraries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Linking Foreign Modules
          • Low-level operations on shared libraries
            • open_shared_object/2
            • open_shared_object/3
            • close_shared_object/1
            • call_shared_object_function/2
    • Packages
Availability:built-in
Sourceopen_shared_object(+File, -Handle)
File is the name of a shared object file (DLL in MS-Windows). This file is attached to the current process, and Handle is unified with a handle to the library. Equivalent to open_shared_object(File, Handle, []). See also open_shared_object/3 and load_foreign_library/1.

On errors, an exception shared_object(Action, Message) is raised. Message is the return value from dlerror().