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

2015-03-12 Thread Slide
Where did you get the library? If it is native, then you would have to write a wrapper library in C# or CLI/C++ that interacted with the library through P/Invoke (for C#) or the native function calls if CLI/C++. On Thu, Mar 12, 2015 at 5:14 AM Hemanth M B wrote: > > > Hi, > > > > Thanks for your

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

2015-03-12 Thread Hemanth M B
Hi, Thanks for your reply. How to check the library is native C++ or not? If it is a native C++ then, is there any work around for the same. Thanks and Regards, Hemanth M B @9010054054 From: Slide [mailto:slide.o@gmail.com] Sent: Thursday, March 12, 2015 5:35 PM To: Hemanth M B; ironpytho

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

2015-03-12 Thread Slide
Do you mean the library is CLI/C++, or is it native C++? If native C++, it won't work with IronPython currently. On Thu, Mar 12, 2015 at 4:11 AM Hemanth M B wrote: > HI All, > > > > > > I am trying to add reference and import BMAPIa.DLL library using CLR. But > it is throwing an error message.

[Ironpython-users] IronPython: Import DLL library

2015-03-12 Thread Hemanth M B
HI All, I am trying to add reference and import BMAPIa.DLL library using CLR. But it is throwing an error message. My code: Import clr Clr.AddReferenceToFile("BMAPIa.dll") Import BMAPIa Error: C:\Users\Administrator>"C:\Program Files (x86)\IronPython 2.7\ipy.exe" "C:\Users\Administrator\Des