AnsweredAssumed Answered

Exception in libiio-sharp.dll

Question asked by padmaram on Jun 30, 2016
Latest reply on Jul 1, 2016 by padmaram

Used https://github.com/analogdevicesinc/libiio/releases/download/2015.2-r1/libiio-setup.exe to install libiio in a 64-bit Windows 7 system.

Created a C# application with configuration having "Any CPU" option. Added reference to "C:\Program Files\Common Files\libiio\ libiio-sharp.dll". The Example in https://github.com/analogdevicesinc/libiio/blob/master/bindings/csharp/examples/ExampleProgram.cs

crashes when creating the context in line " Context ctx = new Context("192.168.1.10");"

 

The exception thrown is as follows:

DllNotFoundException occurred:

Exception thrown: 'System.DllNotFoundException' in libiio-sharp.dll

Additional information: Unable to load DLL 'libiio.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

 

 

AssemblyInfo.cs is attached here for reference.

Attachments

Outcomes