Boost.DLL icon indicating copy to clipboard operation
Boost.DLL copied to clipboard

Library for comfortable work with DLL and DSO

Results 10 Boost.DLL issues
Sort by recently updated
recently updated
newest added

so it's here and the link is https://github.com/boostorg/dll/blob/a7f356119218a9a6d58fd5ea61cc6bc4c120ac9d/include/boost/dll/detail/windows/path_from_handle.hpp#L35 ```c++ // On success, GetModuleFileNameW() doesn't reset last error to ERROR_SUCCESS. Resetting it manually. boost::winapi::GetLastError(); // HERE // If `handle` parameter is...

Dear developers, we are using Boost.DLL for a small plugin system. Some plugins are linked into the executable following this guide: https://www.boost.org/doc/libs/1_76_0/doc/html/boost_dll/tutorial.html#boost_dll.tutorial.linking_plugin_into_the_executable. The `boost::dll::shared_library self(boost::dll::program_location());` statement however is causing two...

The code below suggest that you can replace it with `BOOST_DLL_ALIAS(my_namespace::plugin, plugin)`, but if you do it will not build. Is there something missing? ``` // Exporting `my_namespace::plugin` variable with...

I'd like to use the functionality of Boost.DLL to access libraries that are already loaded in the process, but be able to avoid loading libraries that are not already loaded....

enhancement

Environment: Windows 10 1903; MSVC 14.2; Boost 1.70 A member function in my class was successfully imported only in x86 and failed in x64. `auto f = sm.get_mem_fn("set_callback");` give me...

I've created a program to test `boost::dll::symbol_location`, based on the documentation page [here](https://www.boost.org/doc/libs/1_82_0/doc/html/boost/dll/symbol_location.html). If I compile the code ($CXX -std=c++17 main.cpp) on my Ubuntu 22.04 system with Clang (clang++), the...

My suggestion - add routins for enumeration shared libraries already loaded by current process For example we have host app 1) host.exe(or just bin on nix) 2) host.exe dynamically loads...

enhancement

Previous issue: https://github.com/apolukhin/Boost.DLL/issues/57 PR which was intending to fix that issue: https://github.com/apolukhin/Boost.DLL/pull/59 @apolukhin I believe this fix is incorrect. Per the documentation from GetModuleFileNameW (emphasis mine): > If the function...

Hi, The problem is with the tutorial, not the library itself. Your factory method in [tutorial](https://www.boost.org/doc/libs/1_64_0/doc/html/boost_dll/tutorial.html#boost_dll.tutorial.factory_method_in_plugin) returns boost::shared_ptr. However, you import it via alias, as function returning boost::shared_ptr, which is...

Using Boost 1.83.0 Using boost::dll::experimental::smart_library Calling get_function(name) The library does not seem to be generating correct de-mangled names for a C++ function, so it fails to find a "match" in...

help wanted
mangling