Skip to main content
0 votes
0 answers
54 views

We created a .NET 8 library DllExportTest.dll in C#. This library exports two functions (AddOne and AddOneWithHelper) to be called from native code. The export is done with the DLLExport 1.8 package. ...
Ольга's user avatar
0 votes
1 answer
199 views

We have a 32-bit application written in Delphi. We also have a Windows Forms Class Library written in C#. To export the library functions we use NuGet DllExport package. Everything works fine with ....
Ольга's user avatar
1 vote
1 answer
99 views

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 ...
suvayu's user avatar
  • 4,714
1 vote
1 answer
79 views

I'm using a .NET 8 DLL from which a function AddOne is exported: [UnmanagedCallersOnly(EntryPoint ="AddOne")] public static int AddOne(int x) { Console.WriteLine("Inside AddOne"...
White's user avatar
  • 389
1 vote
1 answer
200 views

The following code compiles well for Visual Studio < 17.2: #include <optional> #include <map> class __declspec(dllexport) A { using M = std::map<int, A>; std::optional<...
αλεχολυτ's user avatar
-4 votes
1 answer
106 views

I am trying to inject a dll in a windows .exe process for example notepad.exe, the injection works fine but when the dll is already injected in the process and I try to call the exported function it ...
Javier's user avatar
  • 123
0 votes
0 answers
95 views

As far as I understand, the point of __declspec(dllexport) is to be an instruction during DLL compilation to export enough information to the LIB that goes with the DLL to allow specifically member ...
Spring E. Thing's user avatar
1 vote
1 answer
99 views

I really don't like the idea of putting lots of effort into carefully developing & designing a C++ library only for it to be the case that the only thing stopping those who link the DLL from ...
Spring E. Thing's user avatar
0 votes
0 answers
64 views

I'm trying to use an sdk that is built for .NetCore which I got from Nuget. Since, I can't directly use it in Unreal Engine 4 (.NetFramework), I've made a UWP C# Class library as a wrapper, and I'm ...
Muhammad Murtaza's user avatar
1 vote
1 answer
149 views

Using Microsoft Visual Studio Professional 2019: Created a simple addition function in C++ to generate a DLL file. In a new C# project, referenced the above DLL file. Win32: For both the C++ DLL and ...
Rajesh Kontham's user avatar
0 votes
0 answers
617 views

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 ...
jesse's user avatar
  • 1
-1 votes
1 answer
75 views

I have a Delphi 7 application that tries to render an OpenGL scene into a TPanel by passing the property Handle of the TPanel to a C++ DLL (written in Visual Studio 2008). Here's the DLL function ...
Carlos HP Silva's user avatar
1 vote
2 answers
127 views

I'm trying to replace some functions made in LazarusLib with functions written in C++ for Inno Setup installer. So I created a Dynamic-Link Library (DLL) project in Visual studio and added the ...
Miha Bogataj's user avatar
1 vote
1 answer
145 views

Here's the snippet of code #include<memory> #include<unordered_map> struct __declspec(dllexport) Foo { std::unordered_map<const int*, std::unique_ptr<int>> foo; }; Foo ...
Enlico's user avatar
  • 30.3k
0 votes
1 answer
309 views

Alright. Let me describe my issue. So, have this macro: #ifdef DLL_MODE #define DLL_API __declspec(dllexport) #else #define DLL_API __declspec(dllimport) #endif And this class: class DLL_API Test { ...
SoulStealer173's user avatar

15 30 50 per page
1
2 3 4 5
52