hi there,
i'm trying to use ironpython embedded in silverlight
there is a tutorial here 
http://www.voidspace.org.uk/ironpython/silverlight/embedding_ironpython.shtml 
but it seems that you can not define your own classes.
When doing this in a script i get an "MethodAccessException" when accessing 
"System.RuntimeMethodHandle.get_Value()"  somewhere in the ctor of the defined 
class.
This due to Silverlight having no security privileges so does anybody know how 
to solve this?

My code sample http://pastebin.com/7j8iXEAE which basically creates a 
ironpython script extracting it to a delegate. Then it calls the defined 
function. IronPython stdout is set to a stream which is used later to set the 
text of a textbox
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to