G
Guest
Hi guys
I'm writing a console app in C# for which i want to enable the user to have
several "plug-ins". The app has a switch to set the plug-in to use, and at
runtime the required dll is loaded and executed.
I had thought I could do this with a C# class compiled, and just load the
relevant dll file for the class we want, and call it as normal. Of course
this won't work because C# class files need to be compiled into the app?
Correct?
That being the case, how do I load "proper" DLL files at runtime and call
functions from within them?
Secondly, how do I write "proper" DLLs in C# ?
Cheers
Dan
I'm writing a console app in C# for which i want to enable the user to have
several "plug-ins". The app has a switch to set the plug-in to use, and at
runtime the required dll is loaded and executed.
I had thought I could do this with a C# class compiled, and just load the
relevant dll file for the class we want, and call it as normal. Of course
this won't work because C# class files need to be compiled into the app?
Correct?
That being the case, how do I load "proper" DLL files at runtime and call
functions from within them?
Secondly, how do I write "proper" DLLs in C# ?
Cheers
Dan