Re: [Ironpython-users] IronPython: Import DLL library

2015-03-13 Thread Hemanth M B
Thanks for info markus, Can you please send me sample code to use ctypes and also COM interface? Thanks and Regards, Hemanth M B @9010054054 From: Markus Schaber [mailto:[email protected]] Sent: Friday, March 13, 2015 12:57 PM To: Hemanth M B; [email protected] Subject: AW: [Ironp

Re: [Ironpython-users] IronPython: Import DLL library

2015-03-13 Thread Markus Schaber
Hi, I fit is not explicitly stated that it is C++/CLI (or some other keywords like “mixed mode” or “managed C++), I’d guess that it is pure native. The library might expose a COM interface, in that case you could interact with it using COM. Another way for a wrapper could be using the ctypes m

Re: [Ironpython-users] IronPython: Import DLL library

2015-03-13 Thread Markus Schaber
Hi, Herman, Sorry, I did not use any of those two myself yet, just heard some success (and a few failure) stories of others. http://ironpython.net/documentation/dotnet/ contains some explanations and sample code for COM. For ctypes, which _should_ work the same as in cPython, there are lots o

Re: [Ironpython-users] IronPython: Import DLL library

2015-03-13 Thread Markus Schaber
Hi, Just some additional thoughts / gut feelings: The COM interfacing which is based on the .NET COM support seems to work rock solid / very stable. The ctypes interfacing seems somehow brittle on corner cases, and is not easy to use in case of complex data structures, C++ interfacing may be e