C
CSharper
I have written a class, which reads a config file, which has the name
of the dll, the type of the class. Which during running, I use
reflection to identify and then instantiate the class. I expect all
the dll to implement an interface. I was able to make the program to
load the assembly, but when I try to instantiate to my interface I get
type mismatch error. One thing is that, the dlls were written by
different group and they use differenet name space and my interface
use different name space. Will that be an issue?
Thanks,
of the dll, the type of the class. Which during running, I use
reflection to identify and then instantiate the class. I expect all
the dll to implement an interface. I was able to make the program to
load the assembly, but when I try to instantiate to my interface I get
type mismatch error. One thing is that, the dlls were written by
different group and they use differenet name space and my interface
use different name space. Will that be an issue?
Thanks,