A
Allen Anderson
I'm trying to write an application that takes plugins. I'd like to be
able to drop a dll into my apps directory and have the app see it on
loading (easy to do) then load the dll and interogate it to see if it
has a particular class or interface is implemented. If so I'll call
it etc.
My question is: Given that I have an interface defined
(MyPluginInterface) how do I go about taking a strange dll and
interogating it to see if it supports it then instance that
class/interface.
any help would be greatly appreciated.
thanks
able to drop a dll into my apps directory and have the app see it on
loading (easy to do) then load the dll and interogate it to see if it
has a particular class or interface is implemented. If so I'll call
it etc.
My question is: Given that I have an interface defined
(MyPluginInterface) how do I go about taking a strange dll and
interogating it to see if it supports it then instance that
class/interface.
any help would be greatly appreciated.
thanks