Mar 26th, 2008, 10:32 AM
|
#7
|
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 333
Rep Power: 3 
|
Re: Reflection Casting
Quote:
Originally Posted by lectricpharaoh
IPlugin pluginObject = (IPlugin)someObject; pluginObject.someInterfaceMethod();
|
This is what I got the runtime error on, I will post the whole code when I get home. Though the code has changed by now, but I'll see if I can dig up an old copy.
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
|
|
|
|