[IronPython] Hosting IronPython in Powershell

Michael Foord fuzzyman at voidspace.org.uk
Wed Jan 14 01:11:42 CET 2009


Sorry for the late reply Stephen - I'm really bogged down in the last 
phases of copy editing. Did you get this sorted?

Michael

Stephen Ng wrote:
> Thanks for the help....  I'll get the pdf version of the book this 
> weekend and read up to try to get more of a clue.  Am I using 
> Invoke-GenericMethod correctly?
>
> PS C:\Program Files\IronPython 2.0> & 'C:\Program Files\IronPython 
> 2.0\Invoke-GenericMethod.ps1' $py Execute String '3'
> Exception calling "Invoke" with "2" argument(s): "Exception has been 
> thrown by the target of an invocation."
> At C:\Program Files\IronPython 2.0\Invoke-GenericMethod.ps1:96 char:30
> +             $newMethod.Invoke( <<<< $instance, $methodParameters)
> PS C:\Program Files\IronPython 2.0> & 'C:\Program Files\IronPython 
> 2.0\Invoke-GenericMethod.ps1' $py Execute String 'print 3'
> Exception calling "Invoke" with "2" argument(s): "Exception has been 
> thrown by the target of an invocation."
> At C:\Program Files\IronPython 2.0\Invoke-GenericMethod.ps1:96 char:30
> +             $newMethod.Invoke( <<<< $instance, $methodParameters)
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog





More information about the Ironpython-users mailing list