I'm looking for resources or just some general feedback about ways to accomplish this.
What I want is to be able to design a program so that it'll be able to accept addon modules, just by dropping a DLL file into the program directory. Is there a way to have the program decide at runtime to load XYZ.dll? For example, I have a program with a listbox showing all DLLs in the directory, knowing that they all have a function called LoadMe(), then by selecting the DLL, and hitting a button, it executes the LoadMe function for that DLL?
Any feedback is appreciated, even it you just tell me I'm crazy (of course I already know that much).
Thanks.
Ben Martin
What I want is to be able to design a program so that it'll be able to accept addon modules, just by dropping a DLL file into the program directory. Is there a way to have the program decide at runtime to load XYZ.dll? For example, I have a program with a listbox showing all DLLs in the directory, knowing that they all have a function called LoadMe(), then by selecting the DLL, and hitting a button, it executes the LoadMe function for that DLL?
Any feedback is appreciated, even it you just tell me I'm crazy (of course I already know that much).
Thanks.
Ben Martin