C# DLL projects

sticksbs

Newcomer
Joined
Aug 18, 2003
Messages
5
Hi all,

Well i'm relatively new to C#, and for that matter working with DLL's.

For one of the pieces of software I'm working on at the moment, I'd like to allow others to create their own "plugins" for certain functions.

Essentially I'd like to have a class that anyone can remake provided I give the interface and specs on what each function should do.

I reckon that this would simply mean others can compile a dll assembly, and my program could load that dll at runtime (based on a string variable indicating the name of the dll specified in a config file or something). I assume I'd need to use reflection for such matters.

The main problem I'm having right now, is where can I find out about loading the dll's at runtime, and how to load them based on a string variable, obviously it's not as simple as adding a reference to the project as that isn't done at runtime.

I hope that clairfies things, and if I'm way off track in how to do this "plugin" type off stuff, please do let me know.

Thank you in advance...
 
Back
Top