[Mono-list] Reflection odd exception

2005-10-19 Thread Carlos Ble
Hi! Iam working with reflection by loading some clases dinamically. This is a piece of pseudo code: System.Object[] paramsObj = new System.Object[] {...params...}; Assembly assembly = Assembly.GetExecutingAssembly(); System.Object childWin =

Re: [Mono-list] Reflection odd exception

2005-10-19 Thread Elliott Draper
I'd hazard a guess and say it's because you don't have a reference to the relevant Gdk assemblies, or they can't be found in the path, gac etc. As such when it's creating this object, it's coming unstuck because that class is using a type that it can't find, hence when you change it to using

Re: [Mono-list] Reflection odd exception

2005-10-19 Thread Carlos Ble
Thanks Elliott. Following the InnerException I have noticed that the exception is normal, the problem is simple. When trying to Autoconnect (because im using glade) it searchs for OnWinDeleteEvent(object o, EventArgs e) and doesnt find it. So the problem is not in reflection neither assemblies,