On 26/09/14 14:37, krzaq wrote:
I'd like to extend my program's functionality from plugins, that'd be
loaded by name (or not) as requested by the config file. Is it possible
to throw in a few dlls/sos implementing those new modules into a
directory and hope that they will be all loaded and available to
Object.factory in the main executable?

I hope I'm clear enough.

If you either enumerate all dynamic libraries in a directory, or a list from a config file, then use dlopen on all libraries. Then I think Object.factory should work. But dynamic libraries are basically only working on Linux.

--
/Jacob Carlborg

Reply via email to