The traditional procedure for developing plug-in architecture, apparently, consists in creating a separate DLL containing only a common interface, which all plug-ins will implement, and force both the main application and the plug-ins.
I am trying to do the same, but without a separate DLL. One obvious way is for all plugins to be dependent on the main application, but this was hardly a pretty good solution.
Can you come up with a more beautiful solution? Ideally, there would be no dll binding interface; if this is not possible, it would be pretty cool if a user who does not plan to run plugins would not need to load the DLL plug-in at all. Taht, only those who run plugins need a DLL interface.
source
share