Questions tagged [dllnotfoundexception]

69 questions
37
votes
5 answers

DllNotFoundException, but DLL is there

So I'm using an SDK for a hardware random number generator which provides a dll called PsyREG.dll for interacting with it, as well as some c# source for using the methods from the dll. It has worked in the past, but somehow it has stopped working.…
Asmor
  • 5,043
  • 6
  • 32
  • 42
13
votes
4 answers

ZeroMQ DllNotFoundException using .Net Bindings

I am just beginning to use ZeroMQ and am experimenting with some of the samples. I am using the C# language bindings and have run into an issue with getting a DllNotFound Exception. I can Load and run samples on My development machine after having…
Learning1
  • 131
  • 1
  • 3
11
votes
0 answers

AWSSDK Got error `Unable to load DLL 'Crypt32.dll'` in macos

I don't know the reason but it might be because macOS was recently updated to 10.13.1 (17B48). The code that used to worked some weeks ago just crash with this error "Unable to load DLL 'Crypt32.dll': The specified module could not be found.\n…
Thaina Yu
  • 1,372
  • 2
  • 16
  • 27
11
votes
5 answers

System.DllNotFoundException: Unable to load DLL on window 2003

I have c++ dll using in my c# project, It ran fine on my window xp machine, but when i copy my debug project on window 2003 server (x64), i received error below, can any one tell me what is this problem, and how can i fix…
Rick
  • 129
  • 1
  • 1
  • 4
9
votes
5 answers

System.DllNotFoundException on Mono SQLite

I've been trying to figure this out lately. It is working on my Windows machine, where I got SQLite from NuGet, but... When I put System.Data.SQLite.dll and SQLite.Interop.dll straight from my Windows machine into Linux server it says that…
John Smith
  • 496
  • 1
  • 6
  • 20
9
votes
12 answers

Why doesn't .NET find the OpenSSL.NET dll?

EDIT (the whole question, it was too unclear) I want to use OpenSSL.NET The OpenSSL.NET install instructions page: INSTALL Make sure you have libeay32.dll and ssleay32.dll in the current working directory of your application or in your PATH.…
Lazlo
  • 8,518
  • 14
  • 77
  • 116
8
votes
1 answer

Errors while trying to use System.Drawing in .Net Core Console Application

I am trying to create a Bitmap with System.Drawing.Common in a .Net Core Console Application running on Ubuntu 18.04, but as soon as I execute the code it will show me: The type initializer for 'Gdip' threw an exception. at…
Twenty
  • 5,234
  • 4
  • 32
  • 67
7
votes
2 answers

DllNotFoundException with HRESULT 0x8007007E when loading 64-bit dll

I downloaded zlib and compiled the library as both Windows 32-bit and Windows 64-bit dll. I now have zlibwapi.dll and zlibwapi64.dll. The dlls are copied into my application folder and are referenced as follows: [DllImport(@"zlibwapi.dll", …
GSerg
  • 76,472
  • 17
  • 159
  • 346
6
votes
4 answers

DllImport generates System.DllNotFoundException

I’m having some difficulties while trying to consume an unmanaged-code dll from my application (written in C# framework 4.0). I’m using the dll import as follows [DllImport(@"C:\MGW_SDK.dll", EntryPoint = "fInicializaSDK")] public static extern int…
Bongo Sharp
  • 9,450
  • 8
  • 25
  • 35
6
votes
2 answers

Mono on Mac: DllNotFoundException despite SQLite.Interop.dll being in dllmap

I have a C# application that uses SQLite and works fine on Windows. The same Visual Studio project compiles fine in Xamarin Studio, but when running I get: DllNotFoundException: SQLite.Interop.dll Despite: libsqlite3.0.dylib is in /usr/lib and…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
6
votes
3 answers

DllNotFoundException: libzmq

I'm trying to use ZeroMQ C#-binding ( http://www.zeromq.org/bindings:clr ) for communicating with a server for a game I'm creating in Unity (I'm using Mac OS X 10.8). I therefore created a simple function that connects to a server, sends a message…
5
votes
3 answers

How can I connect to SAP using sapnwrfc library?

Our software is written in C# and needs to connect to SAP. As some of our customers use older versions of SAP, and others don't have SAP PI, we can't connect through webservices. I tried to connect to SAP through the SAP NetWeaver Remote Function…
4
votes
2 answers

System.DLLNotFoundException when the DLL exists

I am getting the following error when we load up a DLL in our program that throws the following error: Unable to load DLL 'xxx.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) This doesn't make sense to me…
codewario
  • 19,553
  • 20
  • 90
  • 159
4
votes
6 answers

Windows Vista: Unable to load DLL 'x.dll': Invalid access to memory location. (DllNotFoundException)

I was testing on a customer's box this afternoon which has Windows Vista (He had home, but I am testing on a Business Edition with same results). We make use of a .DLL that gets the Hardware ID of the computer. It's usage is very simple and the…
Martin Marconcini
  • 26,875
  • 19
  • 106
  • 144
4
votes
1 answer

Where should I place the dll file when I use DLLImport?

I know that in windows forms you just need to place the file in the Debug folder, but it seems that it is totally different in monodev for android. I have tried placing the file from assets folder, adding reference paths, setting reference folders…
Rye
  • 2,273
  • 9
  • 34
  • 43
1
2 3 4 5