case-block was followed by a ;
that's what you get for 13hrs straight
------------------------
I have a problem using InvokeMember. I have a client application that
loads a set of assemblies runtime. It creates instances of them and
calls a method which I specify in a XML file.
What I'm calling:
t.InvokeMember( widget.InitMeth od, BindingFlags.De claredOnly
|BindingFlags.P ublic | BindingFlags.No nPublic | BindingFlags.In stance |
BindingFlags.In vokeMethod, null, newWidget, widget.Paramete rs);
What I have:
newWidget is a object of the class WSlider. WSlider has a method called
InitSlider(int, int,int).
widget.Paramete rs is a object array which holds 3 int values.
widget.InitMeth od holds "InitSlider ".
Now, this just throws me a MissingMethodEx ception. It works fine with
one parameter, but as soon as I add more it throws the exception. Anyone
got a clue on this?