Questions tagged [dll]
A dynamic-link library (DLL) is a module that contains functions and data that can be used by another module (application or DLL). It is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems.
9,127
questions with no upvoted or accepted answers
15
votes
2
answers
363
views
Referencing SQLiteCommand class not valid when embedding interop type
I'm distributing System.Data.Sqlite.dll which I integrated into my project using NUGET.
I'm releasing my application as x86.
If I simply distribute System.Data.Sqlite.dll to my application folder, ...
11
votes
0
answers
316
views
SetEvent state from golang to c (cgo)
I wrote DLL to handle my VSCAN communication in golang. I'm facing a really hard problem now. Is there any way to signal state from cgo to c/cpp program?
I'm using a large CPP project, inside it calls ...
11
votes
0
answers
459
views
How can i reduce the number of symbols in my Haskell DLL? ("export ordinal too large")
I'm building a DLL in Haskell for use on both macOS and Windows and am having a problem with the latter. Specifically, the number of symbols in the DLL becomes too great (“export ordinal too large”):
...
11
votes
0
answers
8k
views
Debugging a dynamically-loaded library with gdb
I am trying to debug an application which loads dynamic libraries as plugins, and experiencing problems with gdb to locate the source files and put breakpoints at the source level.
I build a dynamic ...
11
votes
1
answer
3k
views
The type 'Newtonsoft.Json.JsonConvert' exists in both 'Newtonsoft.Json.dll' and 'NuGetApi2.dll'
I am trying to serialize object on the fly into immediate window by using
Newtonsoft.Json.JsonConvert.SerializeObject(myObj);
However I am getting following error
The type 'Newtonsoft.Json....
10
votes
2
answers
930
views
Viewing a pimpl from DLL in debugger
I am using the pimpl idiom to hide the implementation details of an interface so that I can have some measure of ABI protection. I'm not that well versed on the ins and outs of MS...using Linux for ...
9
votes
2
answers
458
views
How to isolate dependencies against transitive dependency resolution?
I am working on an application which provides a plugin interface for customers to develop their logic inside the app. The plugins are then loaded dynamically at runtime. We provide a clean C interface ...
9
votes
1
answer
2k
views
Detected package version outside of dependency constraint
Detected package version outside of dependency constraint: Microsoft.NET.Sdk.Functions 1.0.13 requires Newtonsoft.Json (= 9.0.1) but version Newtonsoft.Json
10.0.1 was resolved.
I am in need of ...
9
votes
0
answers
436
views
Getting Error while trying to load DLL using DllImport in windows 10 universal app
I am creating windows app. which is targeting windows 10 platform and it is Universal Windows App and I am using https://github.com/phatware/WritePadSDK for creating writing lad in windows app. Now ...
9
votes
0
answers
14k
views
C++: Warning inconsistent dll linkage
I have an issue with Visual studio (in C++)
I got a warning and I don't know why because I never call 2 time the same variable.
function: inconsistent dll linkage
warning list: (in french)
I read ...
8
votes
1
answer
680
views
Trying to build an XLL "This program cannot run in DOS mode"
I've been trying to build a simple XLL that will just create a process with a hard coded command line. Here is my code:
#include "pch.h"
BOOL APIENTRY DllMain( HMODULE hModule,
...
8
votes
3
answers
731
views
std::basic_ostringstream exported by Boost unit test framework dll results in an "already defined symbol"-error
I use Visual Studio 2012. My setup is like this:
some.lib links against some.exe
some.lib links against some_test.exe
I use BOOST_TEST_DYN_LINK when building some_test.exe. The results are the same ...
8
votes
1
answer
1k
views
Problems with ILMerge
I am trying to put .dll fles in my .exe file and I am getting this error:
ILMerge.exe: The assembly 'Final' has a value for it's PeKind flag
'Ilonly, requires32bits' that is not compatible ...
8
votes
2
answers
1k
views
Visual Studio - InstallShield setup in a project with System.Data.SQLite
I have a C# class library that references System.Data.SQLite (from nuget). This is the structure of my bin folder after build:
MyProject.dll
System.Data.SQLite.dll
x86/SQLite.Interop.dll
...
8
votes
2
answers
2k
views
Visual Studio: How to tell exe where to look for dll's?
I have a .lib included in my project (Linker->Input->Additional Dependencies) that makes my .exe build require a corresponding .dll to be provided with the .exe. Naturally, I would put the .dll in the ...