All Questions
8,211
questions
0
votes
0
answers
23
views
Periodically resetting the internal state of a 3rd party DLL
In my .NET 8 Windows service I import a 3rd party DLL. Over time the service becomes sluggish (e.g. over 3-4 days of heavy use), and I want to eliminate this DLL as the cause (e.g. perhaps it has some ...
-1
votes
0
answers
21
views
CS1503 [argument 4] - Cant convert from "MessageBoxButtons" - (this is enum) to "ulong" [duplicate]
Well i am trying to port MessageBox from c++ to c# and i keep getting this error : CS1503 [argument 4] - Cant convert from "MessageBoxButtons" - (this is enum) to "ulong" i already ...
0
votes
0
answers
23
views
Tooltip help for C# COM DLLs [duplicate]
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
22
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 ...
0
votes
0
answers
125
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
66
views
Is a thread execution slower when it's running inside a dll instead of a .exe?
I have a Visual Studio 2022 project where I'm creating a C++ DLL. This DLL exposes a function to start threads.
Subsequently, I have a C# DLL, also in Visual Studio 2022, which acts as a wrapper. It ...
0
votes
0
answers
54
views
"System.DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies" error
I have created an app using c# and winforms. I am using EF to manage a sqlite db (first time I do it in thie way). When the app is ready to deploy I use visual studio project installer 2022 to build ...
1
vote
1
answer
151
views
How to Fix DLL Injection Error in Cheat Engine for .NET Application
I'm attempting to inject a DLL, written in C/C++, into a .NET application using Cheat Engine. However, I encounter an error message: "dllInject failed: Failed injecting the DLL Force load module ...
5
votes
0
answers
130
views
I want to call a c# .dll file from rust code
Calling a C# .dll from Rust: Issue with Function Invocation
Problem:
I'm attempting to call functions from a C# .dll in Rust using the libloading crate. While one function (my_name) works correctly, ...
0
votes
1
answer
88
views
Class in DLL crashes application
I am using Microsoft Visual Studio Professional 2022 (64-bit), I am trying to add classes to a DLL. Previously I have created a DLL which contains string resources and this works fine. However any ...
0
votes
0
answers
38
views
Is there a way to update the file version of a dll file without rebuilding?
I have some .dll files that contain the wrong version numbers. I want to update these versions with the correct values without rebuilding. I found this UpdateResource function and am attempting to ...
3
votes
0
answers
33
views
.NET Framework project works with .NET Framework dll but not the .NET Standard version
I'm referencing a dll (that I took from the .NET Standard directory of a certain nuget package (which is Aspose.Drawing)) in my .NET Framework project, and some of the functionalities show errors and ...
0
votes
0
answers
49
views
Binding redirect not applying
I have a .NET framework 4.6.1 project that uses playwright to interact with a web page. When I try to connect to the webpage I get the error: "Could not load file or assembly 'System.Text.Json, ...
0
votes
0
answers
202
views
Stardew Valley--SMAPI tutorial mod failed to load because 'its DLL has no 'Mod' subclass
I am following this tutorial from the Stardew Valley wiki on creating your first mod with SMAPI. Sorry I feel like I included a lot of info but I see people asking for more in the comments a lot so I ...
0
votes
0
answers
27
views
Invalid YaraSharp library in C#
When i run the code below that error appears.
using YaraSharp;
YSInstance YSInstance = new YSInstance();
System.BadImageFormatException: 'Could not load file or assembly
'YaraSharp, Version=1.3.0.0, ...