Hi,
I'd like to make a project that can be modular in nature. I want to be able to add code modules AFTER I've compiled the main program.
This is what I was thinking: Every module will have a set of interface functions that are called in the same manner for every module by the main program. Every module must have these functions.
The Question... What can I use for my modules?? I was thinking DLLs but I don't know if they can be loaded dynamically at run time.
I want to be able to put all the modules in a directory and just by using their filenames, load them and run their functions.
Is this possible?? Is my method possible? Does anyone know a better/easier way to do this?
Thanks
- Mike -
I'd like to make a project that can be modular in nature. I want to be able to add code modules AFTER I've compiled the main program.
This is what I was thinking: Every module will have a set of interface functions that are called in the same manner for every module by the main program. Every module must have these functions.
The Question... What can I use for my modules?? I was thinking DLLs but I don't know if they can be loaded dynamically at run time.
I want to be able to put all the modules in a directory and just by using their filenames, load them and run their functions.
Is this possible?? Is my method possible? Does anyone know a better/easier way to do this?
Thanks
- Mike -