[IronPython] How to call a c dll from IronPython?

console shark consolejoker at yahoo.com
Sun Jan 13 09:26:31 CET 2008

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?

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080113/feb0ab42/attachment.html>

More information about the Ironpython-users mailing list