Registry / utility / dylib
library3.0.1vcpkgunverified

C++ cross-platform wrapper around dynamic loading of shared libraries.

vcpkg install dylib
INSTALL
IMPORT
SIG · DYLIB
D
dylib
utilitycppv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dylib.hpp
#include <dylib.hpp>

Load a shared library and call a function

#include <dylib.hpp> #include <iostream> int main() { try { dylib lib("./mylib.so"); auto func = lib.get_function<void()>("my_function"); func(); } catch (const dylib::exception& e) { std::cerr << e.what() << std::endl; } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.