dllnotfoundexception

DllNotFound Exception when I use glut functions in my Dll

自作多情 提交于 2019-12-25 05:49:18
问题 I have a c++ dll and c# application. In C# application I call function from dll. With simple function like: extern "C" { __declspec(dllexport) void HelloFromDll() { MessageBox(NULL, _T("Hello from DLL"), _T("Hello from DLL"), NULL); } } all works fine. When i use function with glut like this: extern "C" { __declspec(dllexport) int InitGlut() { glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA); glutInitWindowPosition(100,100); glutInitWindowSize(320,320); glutCreateWindow("MyWindow");

System.DllNotFoundException on Mono SQLite

[亡魂溺海] 提交于 2019-12-18 01:05:52
问题 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 SQLite.Interop.dll is not found, but I am sure I see it next right to executable. Then I tried to compile System.Data.SQLite.dll with /p:UseInteropDll=false , but with no luck. This time it says that System.Data.SQLite.dll is not found. What is this "not

System.DllNotFoundException on Mono SQLite

耗尽温柔 提交于 2019-12-18 01:05:06
问题 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 SQLite.Interop.dll is not found, but I am sure I see it next right to executable. Then I tried to compile System.Data.SQLite.dll with /p:UseInteropDll=false , but with no luck. This time it says that System.Data.SQLite.dll is not found. What is this "not

DllNotFoundException, but DLL is there

こ雲淡風輕ζ 提交于 2019-12-17 16:43:08
问题 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. My hands are a bit tied as I don't actually have access to the device in question at the moment, so I can't try a lot of things... However, here's the weird thing. The dll is there, the same place it's always been. Ahd in fact File.Exists("PsyREG

How can I debug System.DllNotFoundException when missing DLL is not reported?

走远了吗. 提交于 2019-12-11 16:57:16
问题 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 signature: Problem Event Name: CLR20r3 Problem Signature 01: monoclecatdesktop.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4db67550 Problem Signature 04: Skybound.Gecko Problem Signature 05: 1.9.1.0 Problem Signature 06: 4db625ff Problem

Why might I get a DLL not found exception on Vista but not XP?

空扰寡人 提交于 2019-12-08 00:44:57
问题 I have an app that relies on several managed libraries. These managed libraries in turn rely on some unmanaged libraries. When I deploy the app to a machine running XP, it runs fine. When I do the same on a machine running Vista, I get a DLL not found exception. I've tried both a VS2010 setup project and an NSIS installer to do the deployment and it's the same in both cases. Why might this happen? What can I do to get around it? Update - Further details Both installers check for the

Native loading works good. Loading from .net gives error Unable to load DLL 'my.dll': Invalid access to memory location

微笑、不失礼 提交于 2019-12-02 13:01:19
问题 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 native code (it is used from delphi app). But when I call it from .net code, it gives me exception above. I've read this link Windows Vista: Unable to load DLL 'x.dll': Invalid access to memory location. (DllNotFoundException), but no solution helps.

Native loading works good. Loading from .net gives error Unable to load DLL 'my.dll': Invalid access to memory location

北城以北 提交于 2019-12-02 05:52:16
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 native code (it is used from delphi app). But when I call it from .net code, it gives me exception above. I've read this link Windows Vista: Unable to load DLL 'x.dll': Invalid access to memory location. (DllNotFoundException) , but no solution helps. DEP, Administration rights are not the case. P.S. This situation occurs on Windows 2008 server. On

Bundling .dylib files with mono executable

自作多情 提交于 2019-12-01 12:20:19
问题 I have an application and I'd like to bundle a specific dylib along with it. I'm using "dylibbundler" to copy the dylib along with dependencies to the executable folder. Here's the command I'm using: dylibbundler -od -b -x /opt/local/lib/libil.dylib -d ./libs/ -p @executable_path/libs/ dylibbundler is located in the same directory with the executable. The tool recursively runs "install_name_tool" on the library and all of its dependencies (and copies them to a specified directory). Running

ZeroMQ DllNotFoundException using .Net Bindings

只愿长相守 提交于 2019-11-30 22:51:59
问题 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 copied libzmq.dll into Windows/System32, but when I move things to other servers, I get the error despite copying the libzmq.dll into both the folder the samples are running from and into Windows/System32. I have put clzmq.dll into the Folder the