26,114 questions
1
vote
0
answers
54
views
Inexplicable error when trying to inteceppt dll calls with a proxy
I am currently trying to modify an application called EdingCNC, which relies on a dynamic link library called cncapi.dll for its functionality. My goal is to intercept calls to the ...
0
votes
0
answers
52
views
Add Assembly to MAUI
Help me figure out how to add dll to MAUI Blazor project
I use INPAS DUAL CONNECTOR which registers the .NET assembly and places it in the path C:\WINDOWS\assembly\GAC_MSIL\DualConnector\1.3.11....
1
vote
1
answer
95
views
Symbols not exported when creating Windows DLL using MingW
I'm trying to debug this issue with DuckDB.
For the Windows build cross-compiled on Linux using the MingW toolchain, newer versions of the DuckDB library does not export any of the C-API symbols in ...
0
votes
0
answers
184
views
How to create nuget package for MAUI class library?
What should we pack in nuget package for a MAUI class library such that no private, internal or implementation detail is embeded in nuget package i.e. the user should not be able to navigate to the ...
0
votes
0
answers
47
views
Appcrash error in window 10 for some computer
Our company is using program called visualizer.
It doesn't work at some computer and It seems It can't get the dll files.
Below is log which I extract with Windbg
************* Preparing the ...
3
votes
1
answer
186
views
Delphi TThreadPool destructor causes a deadlock from DLL built with the runtime packages
The basic problem lies in the implementation of the RTL library as soon as the ThreadPool destructor collides with the FreeLibrary limitations. TThreadPool.Destroy has a fix to address this issue, ...
1
vote
1
answer
96
views
How to call std::function within an unmanaged C++ DLL from C#?
Looking for some pointers (no pun intended...) as to the best approach for this scenario.
So, I have a DLL (Provided Externally) that has the following exported function:
typedef std::function<void ...
3
votes
2
answers
94
views
What are these undocumented notification codes from a MONTHCAL_CLASS control?
I'm encountering some undocumented notification codes from a MONTHCAL_CLASS control. I've been unable to find any documentation on them, but I guess they are documented somewhere.
Here is my code:
...
1
vote
0
answers
150
views
DLL size doubled from Delphi 11 Alexandria to Delphi 12.1 Athens?
I have a collection of around 150 DLLs. Over time, due to the different compilers being used, their sizes have steadily, but somewhat gradually increased.
The average size of these DLLs was ~ 11,000 ...
0
votes
0
answers
56
views
I want to build a Network sign-in PLAP
I have tried to create a Custom Credential Provider similar to Microsoft PLAP (rasplap.dll). Because the Windows one does not have any other custom input field (OTP/TOTP to perform MFA) apart from the ...
0
votes
1
answer
74
views
WixToolset distributed iText7 application has "unknown PDFException" error while works fine in VB debug mode
In a VB.net 64x project, I used itext7(installed through Nuget) to save PDF files. Everything works fine in debug mode(VS2022, framwork4.8). Then I made a installation package with WixToolset(version4....
0
votes
0
answers
63
views
Why is Excel VBA code crashing in other PC with a custom C# DLL?
My point is to share/embbed a C# DLL in Excel VBA in other PC's.
The problem is that I don't have admin priveleges in other PC and Visual Studio is not installed aswell.
This is my reg file that than ...
-5
votes
1
answer
105
views
When using dynamic linking (dll), how should i handle values that are #define inside the dll?
I'm learning how to work with DLLs in Windows using C++, specifically with the LoadLibrary and GetProcAddress functions.
For practice, I've chosen libcurl as an example to experiment with dynamic ...
0
votes
0
answers
29
views
Patagames / PDFium / error: "System.ArgumentException: 'The specified destination is already in use by another object'"
I get the error: "System.ArgumentException: 'The specified destination is already in use by another object'".
The destination, LinkAnnotationNEW, was assigned a value just a few lines above ...
1
vote
1
answer
233
views
building DLL based on libzip-static.lib
Thanks to kiyolee I have a VS2022 solution to build zlib and libzip (git clone of https://github.com/kiyolee/libzip-win-build and https://github.com/kiyolee/zlib-win-build) and I'd like to extend this ...
0
votes
0
answers
56
views
.Dll file dependecy error in UNIDEC software after changing path to my desired file in unidecgui
I wanted to check the part of unidec softwares code that converts agilent .d folders to txt file so i opened the agilent.py file and changed the path to my desired file after running the command it ...
1
vote
1
answer
477
views
Exporting a Function from a net 8 class library and consuming it in .NET Framework executable
I'm trying to export a function from a .NET 8.0 library. I'm using the 3F DLL export project (https://github.com/3F/DllExport) to achieve this.
public class Class1
{
[DllExport]
public static ...
1
vote
1
answer
97
views
load DLL with ctypes fails
I use a proprietary Python package. Within this Python package the following DLL load command fails.
scripting_api = ctypes.CDLL("scripting_api_interface")
Could not find module '...
1
vote
0
answers
54
views
Trouble using fiona in conda environment: ImportError: DLL load failed while importing _env
I installed the fiona python package in a conda envionment using Anaconda. However, when I tried to import fiona in a python file, the following error pops up.
ImportError ...
0
votes
1
answer
286
views
Blazor WASM files are no longer available in the `_framework` folder under just the file name in .NET 9
When running .NET 8, all of the Blazor WASM DLL files were available at /_framework/<library>.dll. I need to load these files to perform some activities.
However, after updating to .NET 9, the ...
0
votes
1
answer
236
views
How to compile a DLL via mingw32-gcc with `dllimport` and `dllexport`
You have got C++ code is supposed to compile on Windows and on Linux. I am using mingw32 on Windows and GCC on Linux.
The analog of Linux's shared objects on Windows are DLLs.
According to the GCC ...
1
vote
1
answer
656
views
OpenCV Import Error in Python on Windows: DLL Load Failed Description:
I've encountered an issue where importing cv2 in Python triggers a DLL load failed error. Here's a detailed overview of my setup:
Installation and Configuration:
OpenCV Installation:
I built OpenCV ...
3
votes
2
answers
105
views
Project / dll architecture to avoid circular references but maintain modularity
Let's say I have two dll projects: A1.dll and B1.dll. Let's say that B1.dll references A1.dll.
Now let's say that I want to add functionality similar to what is already in A1.dll, but because the ...
0
votes
0
answers
63
views
The code execution cannot proceed because git-2.0.dll was not found
When on my laptop then I get this error 2 times in a row. Almost it going to 1 month but I couldn't solve yet. And also I can't run c/c++ code as well, but i don't know is it connected with it or not?
...
0
votes
0
answers
83
views
Issues with Loading and Calling Functions from user32.dll Using JNA in Java
I’m working on a Java application where I want to create a transparent, non-clickable window with only a clickable button. To manipulate the window’s native properties, I am using JNA (Java Native ...