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.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
20 views

I would like to compile a project using the Go language simultaneously on both Windows and Linux platforms

I have a Go language project that uses both DLL and SO files, which correspond to Windows and Linux respectively. For DLL, I use the syscall package, and for SO, I use the plugin package. I have ...
lvyonghuan's user avatar
0 votes
0 answers
42 views

How do I use a type from a DLL file?

I have a DLL file without a header file, only sdk with code examples and function signatures. So I use LoadLibrary() to load my DLL: HINSTANCE myLibrary = LoadLibrary(_T("MyDLL.dll"));. Then ...
chirlyx's user avatar
0 votes
0 answers
18 views

Assembly.loadFrom failing because of version

I have a very thin client exe that loads all its DLLs dynamically with Assembly.LoadFrom(). I do this so it can download new DLLs, and then load them seamlessly. I cannot just download a whole new MSI ...
mike's user avatar
  • 536
0 votes
0 answers
21 views

.Net 4.5.1 <probing privatePath="bin" /> not found

I am trying to place the sqlite DLL's in a subdirectory relative to my project root. When the DLL's are placed in the root, the application runs successfully. When they are placed in ./bin, with an ...
tincopper2's user avatar
0 votes
0 answers
45 views

VBA - Combining modules

I am trying to build my own library in VBA by creating several modules, which depend on each other. This means you can only use the main part of this, if you import all modules. Since there are more ...
Steinic30's user avatar
-1 votes
0 answers
13 views

Promethean ActivInspire stops working after I join the PC to the domain

I am installing a softwaew for an activboard, but when the PC is joint to our companies domain it does not work. When the PC is freshly installed without domain policies it runs without problem, but ...
Ari Khurshid's user avatar
0 votes
1 answer
37 views

load @next/swc-win32-ia32-msvc, but an error occurred: a dynamic link library (dll) initialization routine failed

After running npm run dev` (nextjs app) the result was this ▲ Next.js 14.0.3 Local: http://localhost:3000 ⚠ Attempted to load @next/swc-win32-ia32-msvc, but an error occurred: A dynamic link ...
thambara Sahassaka's user avatar
1 vote
1 answer
77 views

confuse on building and using dll with c++

Background I'm a rookie and I'm learning how to build and use dll in c++ through microsoft official guidance. https://learn.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-...
lewjj's user avatar
  • 23
0 votes
0 answers
13 views

Visual Studio 2022 + .NET Upgrade Assistant - Cant Import Controls After Conversion From .NET Framework

We are in the process of trying to salvage an old package for current use in a WinForms application being converted from .NET Framework to .NET 6+ using the .NET Upgrade Assistant This package was an ...
Dray's user avatar
  • 1
0 votes
1 answer
32 views

run dll files on notebook pySpark

I want to run dll file based on C# code into my pySpark notebook (in databricks) using 'clr' method. Unfortunately I can't figure out what should be my 'Assembly Name/ .NET reference'. The file is in ...
Denis Gojinetchi's user avatar
0 votes
0 answers
16 views

Import a .dll Library in VScode

I want to use a library in Visual C++. I downloaded a folder called "Microsoft Visual C++" In this folder I have 2 folders : A file called "Definition Files" which contains .h ...
S D's user avatar
  • 1
-1 votes
0 answers
19 views

How are shared libraries shared among processes?

We can achieve the sharing of code in shared libraries among different processes through dynamic linking. When a process links to a dynamic library, the code and data from the dynamic link library (...
Jolla's user avatar
  • 1
-4 votes
0 answers
34 views

C functions inside the DLL are not called correctly [closed]

I have a DLL that includes functions written in C language, the functions use a database inside the folder in \project\bin\debug\ and I'm importing the DLL in Visual Studio using C#. I'm calling a ...
Daniel 's user avatar
0 votes
0 answers
25 views

Running the dll file of the "Fanny worm" virus

I'm studying virus testing at university. I was given the task to investigate the "Fanny Worm" virus from the "Equation Group". For testing, I found a file dll_installer.dll ...
Salavat 3's user avatar
1 vote
1 answer
192 views

Something like LPCWSTR? [closed]

I'm writing a DLL that exports a function that takes a null-terminated string as a parameter. The function passes the string to a WinAPI function, for example SetWindowTextW. It would be great if my ...
Ginormous Ide's user avatar
0 votes
1 answer
44 views

Undeclared identifier when create Struct when building C++ library [closed]

I am building a C++ library using Visual Studio. I create a Struct called GPSPosition and a simple function just assign some random value for the object. All the syntax i just follow on the guide in: ...
Huy Nguyễn's user avatar
-1 votes
0 answers
9 views

System error - application failed to start because of d3dx9_34.dll [closed]

Why Call of duty MW is not running in my pc? It is showing application failed to start because d3dx9_34.dll was not found. How to resolve this issue. I have already reinstalled the game. In first ...
Shashank Singh's user avatar
0 votes
1 answer
15 views

FMUchecker - [FATAL][FMICAPI] Could not load the DLL:

Hello, I exported a simulink model as a FMU. When I run the FMU checker on it, I get the following two (fatal) errors: [FATAL][FMICAPI] Could not load the DLL: Eine DLL-Initialisierungsroutine ist ...
gearskill's user avatar
1 vote
1 answer
18 views

How to call SetDefaultDllDirectories before cgo loads library?

I want to secure my go app against dll hijacking. Some DLLs I load are vulnerable and lookup system DLLs (like winmm.dll) in local path (./) first. To prevent this, I call this at first in my main() ...
Volker's user avatar
  • 478
0 votes
0 answers
11 views

Problem to create .MSIX package with Advance Installer 19.2

I want to publish my application in the microsoft store and I have seen that one of the easiest mechanisms is to package it in a .msix package, I am using Advance Installer 19.2, I have a build that ...
JavierSO's user avatar
-1 votes
0 answers
17 views

Does anyone tried to interface with Vector device (CAN) from Raspberry Pi using Python program? From where do we get the library details?

I plan to use a Raspberry Pi as a connectivity module in a car as part of a proof of concept development, and I'll be using the Vector tool to communicate with the vehicle via the CAN interface. I ...
HASEEL's user avatar
  • 1
0 votes
0 answers
51 views

Failed to Load SWC Binary Error in Next.js Development Server

I encountered an issue while running my Next.js project using the yarn run dev command. The error message is as follows in the image Error Details: Next.js Version: 14.0.3 Local Server: http://...
Awais Ahmad's user avatar
-2 votes
0 answers
27 views

how do I cast a python variable to a c one properly pybind11?

I was trying to use the attached code to create a dll extension, however, the test(), function that can be seen, would not return a double. namespace py = pybind11; using namespace std; #define GMDLL ...
all-stairs's user avatar
2 votes
2 answers
79 views

How to stop transitive dependency from appearing in your project

For example I use a library B from NuGet in my project A : Referencing: <PackageReference Include="B" Version="1.0.0"/> Usage: namespace A.Helpers { public interface ...
Real Ambush's user avatar
0 votes
0 answers
24 views

pytorch_jni.dll: The specified procedure could not be found -> Module.load function when loading Pytorch model in Kotlin/Java. Please fix this

I have a pytorch model that I want to run in android. I have serialized it using torch.jit.trace. When I load it using this line Module module = Module.load("model.pt");, I get this error. ...
TomS's user avatar
  • 1
-1 votes
0 answers
47 views

How do I import a dll file to JetBrains Rider IDE?

I'm trying to open a .dll assembly in JetBrains Rider 2023.2.3 at the location indicated by the red arrow, but I can't open the corresponding code. Anyone with experience in JetBrains Rider 2023.2.3 ...
Gingko's user avatar
  • 1
0 votes
0 answers
5 views

In VB6, how can I fix the "can't find library" error?

I'm using MSoft (msc.dll) in my VB6 project. When I tried to edit and compile the same project on a different PC, I encountered an error saying "Can't find the project or library". How can I ...
Amar Bhusanur's user avatar
-2 votes
0 answers
34 views

Can dll through LoadLibrary access classes in the original runtime

Guys please do not thrash me. It may look like i havent tried anything, but i have pretty much read everything available on google regarding this and cant wrap my head around it. So my use case is ...
Priyansh Yadav's user avatar
2 votes
1 answer
87 views

Calling simple "Hello World!" function from a compiled C DLL from Python results in OSError: exception: access violation

The C code: // my_module.c #include <stdio.h> __declspec(dllexport) void hello() { printf("Hello World!\n"); } __declspec(dllexport) int add_numbers(int a, int b) { return a ...
Carlos's user avatar
  • 53
0 votes
0 answers
15 views

Is signature just appended to a dll file?

I have a dll file and get signed by Jenkins, which applies our company's sign tool. When I compare the signed dll file with the original dll file, I find they are different not only on the last part ...
Tom Xue's user avatar
  • 3,249
0 votes
0 answers
13 views

Build android shared object from makefile

I want to include Facebook's zstd into my Unity project targetting Android. The contributors made it easily to build .dll for .Net platform. But I can't make it work on the Android build, it only work ...
Khang Dinh Hoang's user avatar
0 votes
0 answers
33 views

Unable to load DLL when running the C# project

I am attempting to develop a simple CppSharp project. The implementation of the header file is as follows: class Sample { public: int a; int b; Sample(int a, int b){ this->a=a; ...
Joel L's user avatar
  • 1
0 votes
1 answer
48 views

Panic from Rust cdylib is causing a fatal runtime error

I'm currently developing a plugin loading system that utilizes C++ Boost to load Rust cdylib modules. Everything is functioning correctly, except when I invoke panic!() within a cdylib. The panic ...
Johnny Bakker's user avatar
0 votes
0 answers
50 views

Are Trend Micro DLLs responsible to apparent memory leaks? [closed]

I'm doing memory leak analysis on the application of my employer at customer premises. Our application is written in C#. I've taken a dump and I'm investigating it, using Visual Studio, doing mixed ...
Dominique's user avatar
  • 16.2k
-1 votes
1 answer
93 views

Executable doesn't see Vulkan dynamic lib and throws an linker-error LNK2019

I wanted to write an application in C++/Vulkan without requiring the pre-installed VulkanSDK. So, I have added through "git submodule" vulkan-headers repo, copy VulkanRT to binaries-...
Paulus's user avatar
  • 11
-1 votes
0 answers
40 views

How to fix dll cannot be loaded in ASP.NET MVC

I am working on Sage 50 integrated web app and I am referencing a dll. When running the application I am getting the following error: Could not load file or assembly 'Sage.Reporting.Engine, Version=5....
elector's user avatar
  • 1,325
0 votes
1 answer
32 views

SharePoint SecureStoreProvider not found

I am developing a WebPart in Visual Studio (using .ascx) for SharePoint Server 2019 Standard and need to access the Secure Store Service. However, I cannot locate the Microsoft.Office....
Andrew Malcolm's user avatar
0 votes
0 answers
49 views

Why is loading dll on my machine consistently failing

I am trying to learn how to call c dll method from c# application. I am running both c and c# as 64 bit versions. I am following this Microsoft article link - Example 2. When I run cm.exe (see below) -...
rejkid's user avatar
  • 149
-1 votes
0 answers
40 views

How to generate a .Net DLL from c++ DLL project in visual studio 2022

I have created a dynamic library project in Visual Studio 2022 and developed a C++ library that includes many functions. However, I don't want to generate a standard DLL; instead, I want to generate a ...
yassine's user avatar
0 votes
0 answers
8 views

Nested Dll dependency in .NET

I have one project (ProjectA) which has reference to external DLL(Library). When i add the reference to this project(ProjectA) from the another project(ProjectX) I can not use this external DLL from ...
marmite's user avatar
  • 113
0 votes
0 answers
62 views

Facing an "Internal Compiler Error" when trying to compile with Microsoft.Office.Interop.Word.Document

In an asp.net webforms app, no matter how do we try to add the rqueired reference, we are still getting the following errors, when using Microsoft.Office.Interop.Word.Document: Severity Code ...
user19485620's user avatar
0 votes
0 answers
16 views

Why does a Unit Test project need to install NuGet packages for classes it is testing

I have a project (ProjectA) that uses Microsoft.Graph and other things related to that package. I have another project (ProjectB) that Unit Tests methods in ProjectA. When I create an object from ...
Sigmundur's user avatar
  • 767
0 votes
1 answer
25 views

C# Error get token oauth2 fom external dll

I have developed a DLL in C# to acquire an authentication token using OAuth2. This library is utilized within a C# program. When attempting to retrieve the token from the application, the library ...
user2171002's user avatar
0 votes
0 answers
11 views

how to complie it++ in MSVC?

I compile it++via vcpkg,but it++ depend FFTW,LAPCK,BLAS,how to do?i can"t know how write CMakeList.if you konw ,please tell me a correct answer. i really want to know the details of compiling ...
feilong du's user avatar
2 votes
1 answer
42 views

Why I cannot use extern functions in fixed statement?

I am learning how to use unmanaged code in C#, so I've tried making some console apps using it. I have an external library with a function called fillArray, it returns a char pointer. When I try to ...
a11ex's user avatar
  • 45
0 votes
1 answer
69 views

Is there a way to create a c++ 32-bit DLL that access SQLite database?

We are trying to build a c++ 32-bit DLL that access SQLite database. Background: We have a lot of legacy 32-bit apps. Our long-term goal is to convert them to 64-bit using mostly c++ and wxWidgets. ...
fredv's user avatar
  • 1
0 votes
0 answers
20 views

application requires a non-existing dll. (tinyxml2ddll was not found)

I have an application compiled by CMake. I compile it with Debug configuration. The application uses tinyxml2 library. When I try to launch the application, it reports tinyxml2d.dll was not found, but ...
Trixie's user avatar
  • 1
1 vote
0 answers
48 views

I want to import all the functions in C program from Python. I got OSError: [WinError 193] %1 is not a valid Win32 application

c file; Lets say func.c #include <stdio.h> int display(char* str, int age) { printf("Name %s age is %d",str,age); return 0; } In command prompt: gcc -fPIC -shared -o func.so ...
user22872177's user avatar
0 votes
0 answers
10 views

.net assembly binding failure

I have the following F# project (RefTest.fsproj, Visual Studio 2022): <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net48</TargetFramework> ...
Franco Tiveron's user avatar
0 votes
0 answers
27 views

MinGW outputs a `*.0` file when I thought it would output a `*.dll` (Dynamic Link Library) & is only (roughly) half the size it should be

I am trying to compile a TCL/TK package in MinGW on Windows 64-bit, which should (I think) output a Dynamic Link Library, but instead it outputs *.0 file (which I have never heard of before), which is ...
Zamyatin's user avatar

1
2 3 4 5
520