Have a question that someone may be able to answer.
I am working on an app that does a couple of different things but I am thinking I would like to make it more expandable for the future. What I want to be able to do is create and app that will look in a certian folder for any dll files and then read the dll file and add a menu defined in the library. Now I can do this if I add a refernce at design time but I am unsure on how to go about making and app look for a dll file after it has been compiled.
Basically I am looking for something like the MMC where you can load a dll and then add that functionality to it.
If anyone has any ideas on how to go about this I would greatly appreciate it.
Cander has been working on a Plug-in system example, I'm not sure if he is finished or not. I just finished my own example as well. I'll post it here for you, if that is what you are looking for.
If I can just get past this wall I hit on trying to get an instance of a dll I would be able to finsih.. Ill figure it out. There has to be a way. i was thinking about if I stick it into a seperate thread I might be able to get to that thread via its Thread ID or somehing. So that is one idea I am researching. Will keep you guys informed. But if you dont need to keep track of instancing, that code should do everything you need to dynamically load dll's