help, help ;-)

I still have not found the way to unbox value returned by
mono_runtime_invoke. I get MonoObject from my method and i know that there
is IList from C#. 

i use code like this:

c
MonoObject *oReturn = (MonoObject *)mono_runtime_invoke(my_method, obj,
args, &exception);

in assembly:

       public override ArrayList GetSupported()

        {

            ArrayList al = new ArrayList();

            al.Add("string1"); 
            al.Add("string2");
            return al;

        }


Yours.

Ipo
-- 
View this message in context: 
http://www.nabble.com/Embedded-Mono%3A-calling-c--method-from-c-does-not-work...-tp20085126p20128647.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to