Jeff,
    I think I miss read your reply, what you are saying is that if it based
on ctypes it will work in IronPython as well is it?? I thought you needed
IronClad and so on make it work.

Thanks
Ash

On Sun, Jun 6, 2010 at 9:13 PM, Ashley Abraham <[email protected]> wrote:

> 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???
>
> Thanks
> Ash
>
>
> On Sun, Jun 6, 2010 at 9:07 PM, Jeff Hardy <[email protected]> wrote:
>
>> On Sun, Jun 6, 2010 at 1:15 PM, Ashley Abraham <[email protected]>
>> wrote:
>> > Is it a good approach to use clrtype.py or is there a better way to call
>> the
>> > 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
>> [email protected]
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to