Answer the question
In order to leave comments, you need to log in
How to include libraries on the fly in C++?
Hello Toaster!
How to connect libraries on the fly in C++ and execute code?
Example of work: we have a program and we can send commands to this program. When a command is received, the program will look for a library (plugin?) with this name and call a function in it (let's say the name is the same for all libraries) with the passing of parameters.
Why is it necessary? If you want to quickly add and remove commands without recompiling the entire program. There is a possibility?
Answer the question
In order to leave comments, you need to log in
For windows there is a LoadLibrary function. Linux probably has a similar solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question