John Dumais [mailto:[EMAIL PROTECTED]] wrote:
> I'm kind of confused, given that the underlying system type, > in this case, is of type System.Int32. Can you just not use > Invoke this way? The overloaded version of Invoke you're using sets the BindingFlags.ExactBinding flag. I think if you were to disable this flag by calling the other version of Invoke like so, you'd be alright: <codeSnippet langauge="C#"> oRet = mi.Invoke(instance, BindingFlags.Instance|BindingFlags.InvokeMethod|BindingFlags.Public, null, oa, null); </codeSnippet> HTH, Drew [ .NET MVP | weblog: http://radio.weblogs.com/0104813/ ] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.