Reply to thread

I'm trying to debug the ServerBlaster plugin which has the following declaration:


[CODE]public class ServerBlaster : ITvServerPlugin[/CODE]


but when it tries to load the plugin with:


[CODE]newObj = (object)Activator.CreateInstance(t);

plugin = (ITvServerPlugin)newObj;[/CODE]


I get an InvalidCastException:


[CODE]Unable to cast object of type 'TvEngine.ServerBlaster' to type 'TvEngine.ITvServerPlugin'.[/CODE]


Forgive my ignorance, but I don't see how that's possible.


Anybody have any ideas?


Thanks,

Clint


Top Bottom