I want to write a program that supports feature A B & C.
Then in the future, an unknown feature D is required. If I can learn how to write the program to be extensible, then D should just plugin and the rest of the program can use it as if it was always there.
But how do I accomplish this? I would like to have a WinAmp type plugin framework. In other words, if I was the end user of a piece of software, I just want to download a particular plugin (extension to the software), drop it into a folder and voila! It automatically works with the software.
How can I go about achieving this type of modularity and design without the need for a user to worry about registering the DLL plugin?
Any help would GREATLY be appreciated! Please, if anyone has some example code please supply it.
Then in the future, an unknown feature D is required. If I can learn how to write the program to be extensible, then D should just plugin and the rest of the program can use it as if it was always there.
But how do I accomplish this? I would like to have a WinAmp type plugin framework. In other words, if I was the end user of a piece of software, I just want to download a particular plugin (extension to the software), drop it into a folder and voila! It automatically works with the software.
How can I go about achieving this type of modularity and design without the need for a user to worry about registering the DLL plugin?
Any help would GREATLY be appreciated! Please, if anyone has some example code please supply it.