I'm work in an aplication that need be capable of support plugins, but i dont know how this work.
-
2can you put more comments ? like platform ? language ? – Francisco Corrales Morales Apr 22 '14 at 22:06
3 Answers
See Design Pattern for implementing plugins in your application?
The answers tend to get very platform specific. It also depends on how much control of your core app data and logic the plugin must have.
The C++ QT4 book has a good description of adding a file-type plugin to it's architecture, there area also a bunch of modeling apps (openscenegraph, blender, povray ) that have good documentation for their plugin architectures.

- 1
- 1

- 94,801
- 28
- 188
- 263
You need to design your application's API in such a way that plugins can be created, and you need to add the necessary plugin management interfaces and supporting code to invoke the plugins. There is no catch-all way of managing plugins.

- 59,154
- 9
- 110
- 123
Take a look at the open source application called Rawr (c#). Each addin is a seperate .dll and the main app uses reflection to access the code. Very nicely done.

- 20,376
- 9
- 50
- 82