On Jan 13, 2008 1:26 AM, console shark <[EMAIL PROTECTED]> wrote: > > I wrote a function and built it to a dll in C. For traditional CPython I > then used SWIG to generate the module files and can call it easily. > > However I am not sure how to call this same dll and function from > IronPython? The function looks like: > > int func(char* p, int i, int j); > > Any easy way to do this? Does this require pInvoke and if so how do you do > this from IronPython? >
Check into FePy (http://fepy.sourceforge.net), they have an implementation of ctypes which should let you do what you want. slide _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
