[IronPython] how to convert C# MarshalAs code to IronPython
abrahams84 at gmail.com
Mon Jun 7 04:13:24 CEST 2010
Our current app is Python based and I wanted to move to IronPython because
of the .NET and WinForms. I have it working well with Python and swig and
now I am trying to figure out how to do it using IronPython.
I am very curious whether is there any direct conversion from C# code from
my first post/email to IronPython code???
On Sun, Jun 6, 2010 at 9:07 PM, Jeff Hardy <jdhardy at gmail.com> wrote:
> On Sun, Jun 6, 2010 at 1:15 PM, Ashley Abraham <abrahams84 at gmail.com>
> > Is it a good approach to use clrtype.py or is there a better way to call
> > C function from IronPython...
> Try using ctypes (http://docs.python.org/library/ctypes.html) instead.
> It's a lot easier to use than P/Invoke, and your code should work on
> any Python implementation instead of just IronPython.
> - Jeff
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users