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.
26,092
questions
0
votes
0
answers
3
views
Why is linking a dynamic library against a static library apparently easy on Windows but on Linux `-fPIC` makes that difficult?
I am working on adapting an existing ODBC driver so that it can target Linux.
ODBC Drivers are generally distributed as DLLs on Windows and shared objects (.so) on Linux.
The driver depends on Boost. ...
0
votes
0
answers
14
views
Cereal archive called from DLL cause polymorphism not to work
I am a newbie to cereal and lately I ran into an odd issue,
I have my serialization code inside an external DLL, in the code I use cereal's polymorphism functionality, when trying to invoke the ...
-2
votes
0
answers
12
views
WGL/Win32 functions failing when called after unloading DLL and loading a different DLL with the same name
I have an issue that somehow involves OpenGL, mesa, and probably how Windows treats DLLs.
Our application only supports a certain set of GPUs explicitly, everything else may work or not. For these as ...
0
votes
0
answers
17
views
Tooltip help for C# COM DLLs
I am new to C# programming.
I have created a COM DLL within C# to use in Visual Foxpro. Everything is working fine, by want to extend my DLL to show tooltip for all public properties and methods to ...
0
votes
0
answers
16
views
Add local .dll file as reference in VSCode
An application I downloaded comes with a .dll file that can be referenced from a console application for automation purposes. However, I cannot connect it to my VSCode project.
I am currently using ...
1
vote
0
answers
22
views
Link function calls against reverse engineered binary
I created an windows x86 .exe file that I reverse engineer. Imagine I only have the .exe file and I reverse engineered some functions.
The goal is to create a dll that links with this .exe so the dll ...
0
votes
0
answers
59
views
Game freezes when i call a function in it from a C++ .dll
In IDA Pro, i found a function in the game that writes text to console.
Here is the function:
; void __cdecl write_to_console(char *Format, char ArgList)
write_to_console proc near ; CODE ...
0
votes
0
answers
39
views
Issue with CreateToolhelp32Snapshot and OpenProcess interaction in Windows 11
I'm encountering a peculiar issue with my C++ application on Windows 11 involving the functions CreateToolhelp32Snapshot and OpenProcess. Here's a brief overview of the problem:
When my code calls ...
0
votes
0
answers
29
views
Is a windows' executable' name influencing default memory usage? [closed]
Windows 10, fpc 3.2.0, 5900HS.
I've written a pascal program (likely irrelevant). I've been using the first gigabyte of address space after 256x256x256x256 (aka 4gigs) for virtual memory mapping. I've ...
0
votes
0
answers
23
views
cygwin1.dll version 3.5.* failing on Windows 10 Enterprise. Need to revert to cygwin1.dll v3.4
Updating Cygwin on Windows 10 Enterprise generates errors for all applications dependent on cygwin1.dll versions 3.5.*.
During update errors appear:
"The code execution cannot proceed because ...
0
votes
0
answers
117
views
Interop Delphi dll / C# - bad memory allocation or marshaling
I'm making a wrapper to call a Delphi dll in a C# app, and I'm struggling to make it work. It doesn't crash but the returned result is random data from memory.
I don'tknow if the problem is coming ...
0
votes
0
answers
34
views
Exception in thread "main" java.lang.UnsatisfiedLinkError:dll: The operating system cannot run %1
I am getting the error while loading the library. Here is my code.
package ibm;
import java.util.Properties;
import com.ibm.eNetwork.ECL.ECLErr;
import com.ibm.eNetwork.ECL.ECLSession;
public class ...
-1
votes
0
answers
16
views
how to solve GFSDK_SSAO_D3D11.win32.dll missing error?
I had above error while installing a pirate version of a game.I search for the GFSDK_SSAO_D3D11.win32.dll but I found only the 64bit version.Why was that and how can I fix this error
I tried the 64bit ...
-1
votes
0
answers
21
views
Importing Facebook Unity SDK 17.0.1, to Unity Project Errors
I developed a 2D game in Unity. The game is live on both the App Store and Google Play Store. Now, to increase the number of downloads through Instagram and Facebook, I installed the Facebook SDK 17.1 ...
0
votes
0
answers
53
views
Creating a DLL in CLion
I have a program for a game AI for a 3D Connect 4 game (4x4x4) in C++.
I made the same game in Unity 3D. I want to interface the game AI in C++ with my Unity project by creating a DLL that will accept ...