26,069 questions
-14
votes
1
answer
350
views
How do I understand and solve an "unresolved external symbol" linking problem?
I'm building a solution in Visual Studio, which consists mostly of C++ projects, based on vcpkg technology.
While performing a build of that solution, one project build is failing, as described in the ...
2
votes
0
answers
131
views
DLL gives different results when called via Python vs C
I have a (3rd party, closed source) DLL which I want to use via a Python script. This DLL contains a function which checks whether a computer is "licensed" to perform certain tasks (...
0
votes
0
answers
93
views
How do I redirect calls to version.dll to my own proxy DLL in VS 2022?
I'm trying to create a DLL proxy based on many similar projects online. I am aware of the multitude of posts about DLL proxying on this site and others, but few are recent and I am unable to reproduce ...
0
votes
1
answer
2k
views
OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed when importing torch on Windows
I am getting the following error when trying to use PyTorch-based libraries (YOLO / ultralytics) on Windows. The error occurs on import torch, so any torch-based library fails.
System information
OS: ...
2
votes
0
answers
145
views
Creating a DLL called from C# [closed]
I work in the trucking industry where we use a J1939 interface called RP1210. This standard defines how 32 bit DLLs are to be created for a common interface to J1939 (CAN Bus) hardware devices.
I have ...
2
votes
1
answer
145
views
printf wont work when linking to ucrtbase.dll, but works when linked to msvcrt.dll (Windows, NASM)
I am struggling to get printf to work for me in NASM while linking to ucrt.dll, It works 0 problems when I link to msvcrt.dll for printf, but I am trying to practice with something a little newer.
I ...
1
vote
1
answer
155
views
PyInstaller app works standalone but fails after Inno installer build: failed to load python310.dll
I built a Windows application using PyInstaller in a Python 3.10 (64-bit) environment.
When I run the executable generated directly by PyInstaller, it works correctly.
However, after packaging the ...
0
votes
1
answer
109
views
Why does my VCL form created inside a DLL disappear when minimised
I have a Windows VCL application written in C++Builder. Some of the UI is implemented inside a DLL rather than directly in the main EXE.
The DLL exports a function that creates and shows a VCL form, ...
1
vote
0
answers
121
views
Old functions suddenly being loaded from a different Windows DLL (that doesn't exist on Windows 7)
I upgraded to C++Builder 13 not long after it came out, all patches applied, coming from 12.3 and having gone through all versions since 11.0 for this particular project.
The code did not change much, ...
0
votes
0
answers
61
views
SBOM (CycloneDX) from .dll - why OST doesn't find vulnerabilities?
I have the following problem:
I generate an SBOM CycloneDX (both manually and automatically) from .dll files and then use open-source tools (OST) to search for vulnerabilities.
The relevant CVEs are ...
0
votes
1
answer
147
views
DLL load failure when importing both libsumo and pyarrow
I'm creating new venv (using virtualenv) with Python 3.12.
The only two packages I'm installing are libsumo and pyarrow.
When I run only this line:
import libsumo
or only this line:
import pyarrow
...
0
votes
1
answer
63
views
Linkage of Win32 api and custom GCC build (StrawberryPerl)
I try to build some source code containig Win32 API code with GCC 8.3.0 (i686-posix-dwarf) that comes with Strawberry Perl Portable package. It easily builds code, but struggles when it comes to ...
2
votes
0
answers
52
views
How to use ITaskbarList3::SetProgressState and ITaskbarList3::SetProgressValue in Go? [duplicate]
I make a software in Go. Because it made a long process, it displays a progression bar. I show one with a *fyne.widget.ProgressBar, and I would like to add another one directly on the taskbar button ...
0
votes
0
answers
110
views
Nuget package "GDAL" - Unable to load DLL 'gdal_wrap' when in an addin
I have a "console" application where I installed the Nuget package "GDAL" (and also GDAL.Native).
Besides the exe file, this application also generates a dll that can be loaded as ...
0
votes
0
answers
154
views
cx_Freeze fatal error: "Unable to change DLL search path"
I am creating a Windows installer for an app using Inno Setup but encountering a cx_Freeze fatal error:
"Unable to change DLL search path",
When trying to run the installed app on Windows ...