Plugins system for Delphi application - bpl vs dll?

前端 未结 5 1834
离开以前
离开以前 2020-12-02 19:18

I\'m writing delphi app which should have capability of loading plugins. I\'m using JvPluginManager as plugin system/manager ;) Now, in the new plugin wizard they say it\'s

5条回答
  •  孤城傲影
    2020-12-02 19:51

    Another disadvantage to BPL's. When you switch Delphi versions you will have to re-distribute new plugins. After many attempts at attempting to find the perfect plugin system, I ended up with COM and I have never regretted that decision. In a commercial application which has had the plugin requirement for over 8 years, the application has continued to move forward and yet some of the plugins that were released with the first iteration still exist in their ORIGINAL form.

    If you choose this method, do yourself a favor and start with a simple interface and then add new interfaces upon it. You don't want to ever change your base interface, so keep it simple and sweet.

提交回复
热议问题