How do plugin systems work?

后端 未结 4 2071
半阙折子戏
半阙折子戏 2020-12-18 06:45

I\'m working on a project where I would find a basic plugin system useful. Essentially, I create the base class and can provide this base class to a plugin developer. Then t

4条回答
  •  醉酒成梦
    2020-12-18 07:24

    You can compile plugin as dynamic/shared library put it into plugin folder and then from your code dynamicly load all dll files from plugin folder.
    You may check source code for programs like GIMP to check how they implement plugis.

提交回复
热议问题