AnsweredAssumed Answered

Exception in libiio-sharp.dll

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

Used 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

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


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.