mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
added SharedLibrary::setSearchPath()
This commit is contained in:
@@ -122,6 +122,16 @@ public:
|
||||
/// (e.g., "d.so", "d.dll") unless the library has
|
||||
/// been compiled with -DPOCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX.
|
||||
|
||||
static bool setSearchPath(const std::string& path);
|
||||
/// Adds the given path to the list of paths shared libraries
|
||||
/// are searched in.
|
||||
///
|
||||
/// Returns true if the path was set, otherwise false.
|
||||
///
|
||||
/// Currently only supported on Windows, where it calls
|
||||
/// SetDllDirectory(). On all other platforms, does not
|
||||
/// do anything and returns false.
|
||||
|
||||
private:
|
||||
SharedLibrary(const SharedLibrary&);
|
||||
SharedLibrary& operator = (const SharedLibrary&);
|
||||
|
||||
Reference in New Issue
Block a user