Boost logo

Boost Users :

Subject: [Boost-users] Suggestion for boost::dll:import_alias<>() or boost::dll::import<>()
From: Leo Carreon (lcarreon_at_[hidden])
Date: 2016-06-18 23:40:09


I have been experimenting with the Boost.DLL library and I have discovered that the “lib” argument of either boost::dll::import_alias<>() or boost::dll::import<>() functions require the full path to the shared library to load. If I’m not mistaken, this functions use either the POSIX dlopen() function or the Windows LoadLibrary() function. These platform specific functions are capable of searching a list of paths if a non-qualified shared library name is given.

My suggestion is to use this search capability for non-qualified shared library names.

Kind regards,
Leo Carreon

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at