Questions tagged [dllnotfoundexception]
69 questions
1
vote
1 answer
How can I debug System.DllNotFoundException when missing DLL is not reported?
I'm maintaining a small .NET application that loads a GeckoFX webview in a .NET shell. It works on the vast majority of machines but on one specific 64 bit Windows 7 machine it reports the following exception:
Description:
Stopped working
Problem…

Anson MacKeracher
- 472
- 5
- 12
1
vote
1 answer
Native loading works good. Loading from .net gives error Unable to load DLL 'my.dll': Invalid access to memory location
I'm trying to use native dll, using DllImport.
And I receive such error.
System.DllNotFoundException: Unable to load DLL 'my.dll': Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
That dll loads normally when is called from…

Alex Blokha
- 1,141
- 2
- 17
- 30
1
vote
1 answer
Catch DllNotFoundException not working with Phidget API
I need to reference a dll to instantiate an object. There are cases where the dll will not exist because the Phidget drivers are not installed on those systems. In those cases I just want to catch the DllNotFoundException, but it's not working. I…

Karmacon
- 3,128
- 1
- 18
- 20
1
vote
1 answer
Unity 5.5.6f1 - Native plugin doesn't works, error DllNotFoundException
I'm writing a Unity Plugin in C#, that use SQLite.
The SQLite dependency to SQLite.Interop.dll, as I'm understanding this is a unmanaged DLL.
When I export my Unity plugins, there are several DLL files were exported along with my plugin.
Bin…

Tien
- 2,105
- 17
- 14
1
vote
2 answers
System.DllNotFoundException in pocketsphinx swig Unity windows build
Goal:
Obtain a wrapper dll to use pocketsphinx in a Unity project in Windows.
Problem:
When running the test program, I get an annoying System.DllNotFoundException even though the .so file is in the same directory as the mono program.
Setup and…

Fer
- 460
- 2
- 4
- 17
1
vote
1 answer
Unable to import c++ dll to c# project using DllImport
I'm trying to import a C++ Project Dll into a C# project. I found a lot of people talk about using DllImport. I tried using that and here is what I have-
CPP Code:
int __declspec(dllexport) beginCode(double reportId);
C#…

Teja
- 33
- 1
- 4
1
vote
1 answer
GTK# on windows 'libgtk-3-0.dll' could not be found
I have just reinstalled GTK# from mono on my windows 10 machine. I have checked my PATH variable and confirmed that C:\Program Files (x86)\GtkSharp\2.12 is referenced. Mono is installed and I am getting the following error in both visual studio and…

Kelson Ball
- 948
- 1
- 13
- 30
1
vote
2 answers
SetDllDirectory not working ( DllNotFoundException )
I'm trying to load my 32/64 bit native dll's using the same DllImport call.
Directory structure:
root:
application.exe
/win64/
stb_image.dll
/win32/
stb_image.dll
I tried using this solution but as you can see no succes.
For example this…

Matthiee
- 431
- 4
- 14
1
vote
1 answer
Unity Oracle connection DllNotFoundException: oci
So basically I was trying to access an Oracle database within unity and mono-develop. I copied the needed DLLs System.Data and System.Data.OracleClient
from under: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0
to the Project's Assets…

fanta
- 107
- 1
- 6
1
vote
1 answer
Native plugin with Unity3d Mac OSX Dll notfoundexception
I am trying to integrate a 3rd party native plugin with unity3D. In order to use it i made a c# plugin as a wrapper dll. The plugin works fine with PC standalone when i copy the plugin binaries manually to build folder along with my EXE file.I have…

Maddy
- 11
- 1
- 2
1
vote
0 answers
dll not found exception Microsoft.SqlServer.BatchParser.dll on Windows 2012, for Sql Server 2012
I am working on Front-end VS2010 C# 4.0, Back-end MS Sql Server 2012.
OS - Windows Server 2012.
I am getting this error Message.
Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral,…

Haider Ali Wajihi
- 2,756
- 7
- 51
- 82
1
vote
1 answer
References added in VS aren't being recognized
I am making a VB.NET installer, using .NET Framework 3.0 and Visual Studio 2012. To unzip files obtained by my installer, I'm making use of ICSharpCode.SharpZipLib.Zip
When the .ZIP file downloads, and attempts to unpack, I am presented with an…

Anonymous
- 553
- 5
- 17
- 41
1
vote
3 answers
sqlite3 not found but it was already added as reference
System.DllNotFoundException was unhandled Message=Unable to load DLL 'sqlite3': The specified module could not be found.
I already reference the DLL. I check it on Debug folder and it was there. I also search how to "include" it in the project…

Joef Clarin
- 31
- 6
1
vote
1 answer
Unity3d Android plugin issues
I am getting a DllNotFoundException while trying to access my shared library from the Unity Android player. I placed the .so file in the Assets->Plugins->Android folder that the article HERE told me to. I ran adb logcat and watched the logs and here…

Nicholas Terry
- 1,812
- 24
- 40
0
votes
2 answers
OpenCvSharp throws DllNotFoundException
I have similiar problem as was presented here, but with opencv_imgproc231.dll (opencv_core231.dll is loaded correctly in my case).
I installed OpenCV 2.3.1 and set environment variable PATH to foldres in "vc9\bin" folder. I added all OpenCvSharp…

user1065768
- 1
- 1
- 3