- October 15, 2006
- 56
- 34
- 49
- Home Country
-
Canada
I'm trying to debug the ServerBlaster plugin which has the following declaration:
but when it tries to load the plugin with:
I get an InvalidCastException:
Forgive my ignorance, but I don't see how that's possible.
Anybody have any ideas?
Thanks,
Clint
Code:
public class ServerBlaster : ITvServerPlugin
but when it tries to load the plugin with:
Code:
newObj = (object)Activator.CreateInstance(t);
plugin = (ITvServerPlugin)newObj;
I get an InvalidCastException:
Code:
Unable to cast object of type 'TvEngine.ServerBlaster' to type 'TvEngine.ITvServerPlugin'.
Forgive my ignorance, but I don't see how that's possible.
Anybody have any ideas?
Thanks,
Clint