Questions tagged [dll]

Dynamic-link library (DLL) is a module that contains functions and data that can be used by another module (application or DLL). The term is usally applied to native DLL, the .NET DLLs are usually referred just as 'library' and are vary different in nature and usage.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Explicitly Loading a Ogre3D DLL wrapper with OgreMainStatic.lib linked crashes when loading a mesh with CreateEntity

I have a Ogre3D 1.7.x DLL wrapper project that explicitly loads Ogre functions and works ok using the OgreMain.dll + D3D9 Renderer plugin.dll which loads a mesh without any problems. This is my setup: ...
0
votes
0answers
15 views

Unreal: Where should I place a DLL so it will copied when packaged or zipped?

I'm currently using the FPaths::ProjectPluginsDir() directory to store a custom DLL for Unreal. However, when I build or zip the project, I need to manually create ...
0
votes
1answer
425 views

error CS1069: The type name 'ZipArchive' could not be found in the namespace 'System.IO.Compression'

When I build my project, which references the System.IO.Compression namespace, the build succeeds without issue inside Visual Studio. However, inside the Unity ...
2
votes
2answers
295 views

How game engines generate single executable games?

I was taking a look at Cryengine's and Unreal's code and when built both engines generates lots of dlls. Inside Cryengine's System code I could see that it calls LoadLibrary to load the dlls and ...
-4
votes
1answer
85 views

How can I execute a C# script even if my game is closed?

I've made a game with Unity and I want to execute a C# script that runs even the game was closed. I searched a lot but didn't find anything.
1
vote
0answers
37 views

Unity standaolne Exe crashes dxgi.pdn not loaded?

I couldn't find this exact issue so I apologize if I missed it and created a duplicate question. The only possibilities I could find said that it might be Unity or a DLL. I'm using Unity 2018.2.21f1 ...
1
vote
1answer
684 views

How do I compile a namespace to a .DLL in Unity?

I'm developing a core library that I will use in my other games. I've only heard of using Unity .DLLs recently, and have spent some time putting my core scripts into a namespace. If I understand .DLLs ...
5
votes
1answer
366 views

System.Net.Http.dll and Unity 2018.2.1, 2.2, 2.3 are conflicting, assembly reference keeps being deleted in VS 2017, any suggestions?

I'm looking for some suggestions on how to fix a strange bug i've been getting with System.net.http.dll. For the record, builds work fine as i have the mcs.rsp file in the /Assets/ folder with "-r:...
1
vote
1answer
128 views

Using DLL's for a cross-platform Unity Game

Just a quick theoretical question so I don't hit a landmine further down development. In my current project, I have quite a lot of dll's that I made myself for use in Unity. If I were to develop for ...
-1
votes
1answer
105 views

Unity3D MonoBehaviour in .dll loses serialized data when dll is updated

I have a MonoBehaviour class in a compiled DLL that I have included in my Unity project. It automatically serializes public field data as expected. However, whenever I update the dll (by overwriting ...
4
votes
1answer
1k views

How to get a good Force Feedback .dll Feedback for Steering Wheels? || How to access Force Feedback without a .dll?

I want to implement a steering wheel with Force Feedback to my game and I encountered this problem: I couldnt do it with performance. I have found a .dll for that online, but it had issues like: It ...
4
votes
0answers
213 views

SFML.NET DLLNotFoundException with dll.config files in project

I am trying to run SFML.NET on arch linux and I have two dll.config files in my project called sfmlnet-graphics-2.dll.config and sfmlnet-window-2.dll.config. sfmlnet-graphics-2.dll.config: ...
2
votes
2answers
804 views

SDL_image entry point SDL_acosf not found in SDL2_image.dll

I tried using SDL2_image (2.0.3) with SDL2 (2.0.7) to load png files, but when I start the application I get ...
1
vote
1answer
321 views

Managing shared dll correctly in Unity

I'm developing a dll that is to be used in two Unity projects. I've read that the way to reference a dll is to drag it into a 'plugins' folder so that it is added to the Unity project's dependencies, ...
1
vote
1answer
640 views

How do I set up an SFML .NET dll reference in Visual Studio Code

How do I set up SFML .NET library dll files as references in Visual studio code using dotnet core SDK? I want to ditch visual studio as it's large and clunky and am wondering how to add "third party" ....
2
votes
2answers
129 views

Implementing a lexicon for a word-based game with C# or C++

In my game project I have a lot of word existance checks based on some word bank. As usual arrays or map/set are not realy appropriate for this due to their speed/memory usage, I want to use Ternary ...
0
votes
1answer
574 views

unity editor support 3.5 .net or lower, plugin targeting 4 .net is not supported by unity editor?

I am trying to import some libraries in my unity project but keep getting the above error. Kindly help. Also, if anyone has some some image processing within unity,please point some useful libraries. ...
6
votes
2answers
385 views

How do I prevent modders from creating malicious code?

Let's say I have both a game and a modding system for it. The modding system loads DLL files containing custom features and allows mod creators to override certain functions to change game mechanics. ...
1
vote
1answer
149 views

Pros and cons of loading DirectX DLLs directly?

I have been looking at the source code of various commercial games, and I have noticed that a lot of them load video card/input DLLs directly using LoadLibrary(). I wanted to mod one, but also make ...
1
vote
0answers
78 views

How to import a NET .dll newer than 2.0 into Unity?

I'm trying to build one of the simple EventBus libraries from Github and import them into ...
0
votes
1answer
198 views

No sound effects until DirectX reinstalled in my Monogame project; what DLL to ship?

Environment: Windows 10 (fresh install), using Monogame 3.6 (same goes for 3.5 for this matter) on DirectX projects. Problem: I can’t hear any sound effect unless I reinstall DirectX. Before ...
1
vote
1answer
213 views

Conversion of a C++ library to DLL

I'm developing an augmented reality application and I'm supposed to use the ALVAR library for AR marker detection. I use Unity as the game engine and unfortunately it doesn't support C++. Is there any ...
0
votes
1answer
450 views

Why do I get this error about DllMain when using D3D from within a DLL?

I am trying to create a Dll that will handle all my rendering, I am trying to initialize Direct X but I am getting the following error message: DXGI ERROR: CreateDXGIFactory cannot be called from ...
4
votes
2answers
4k views

How do I render my DirectX C++ engine to a C# Panel?

The title pretty much sums it up. I'd like to know how I can get the HWND of my C# Panel object to my DirectX engine so I can render to it. I know it involves ...
1
vote
2answers
242 views

What's the reasoning behind using “redistributable” packages?

On Windows, many if not all games require some DirectX package and some VC++ runtime. Others also need OpenAL, wmfaredist, nvidia physx, windows live and probably others. I'm trying to figure out why ...
1
vote
2answers
476 views

Can I include 64-bit DLLs in a Unity 5 project?

I am building a C# DLL for inclusion in a Unity project. Due to some dependencies, this must be a 64-bit DLL. The last time I checked, DLLs for Unity had to be built with .NET Framework 3.5 (although ...
1
vote
1answer
5k views

Where are the files UnityEngine.dll and UnityEditor.dll located on a Windows filesystem?

Visual Studio can't find the UnityX.dll files after I copied my assets folder from one computer to another. Where can I find these .DLLs? UnityEditor.dll UnityEditor.iOS.Extensions.XCode.dll ...
3
votes
1answer
591 views

Cannot use DLL in my Unity project

I'm pretty new in Unity and i'm trying to write reusable code to use across multiple "project". So I wrote this class to POST and GET highscore via WebRequest. I compiled the project to a DLL and ...
1
vote
1answer
1k views

Using xinput vibration with java

I need to use vibration for my java game, which is only available through xinput since I use xbox controllers. How can I achieve this with jna? I've never worked with dlls before so any help is ...
2
votes
2answers
919 views

Unity3d not allowing endpoint to save cookies

So I'm using an external DLL with Unity to login to a web service and access functions from it. The DLL works perfectly fine in a command prompt project, but when run in Unity I can log in ...
1
vote
1answer
2k views

InvalidOperationException when using C# DLLs with Unity3D

Description I've been attempting to use a custom DLL in Unity. I've confirmed the DLL runs correctly outside Unity. The DLL imports into Unity and when I refer to it in my scripts, I get no compiler ...
6
votes
1answer
1k views

How do I import service references to Unity3D?

I'm attempting access a service reference in Unity. I need two: the SOAP framework and a separate service called ContentVault. The respective service URL's are: ...
0
votes
1answer
129 views

DXUT getters are always null using DLL

I'm struggling with a problem for a while and I hope some of you can help me out. The title for this question is vague, so I will try to explain my problem as best as I can! I'm am creating a project ...
5
votes
1answer
274 views

How do games on Windows locate libraries? [closed]

I've always wondered how games handle libraries. What if you want to use a dynamic library in a game, let's say OpenGL. You could just put it inside the /lib ...
-3
votes
1answer
190 views

C++ Loading DLL Error [closed]

So I'm attempting to fix a OpenGL in Java problem by making a DLL in C++ and then call it from Java but I've ran into an issue. So I'm testing a basic DLL in C++ and I got this error: "error: '...
1
vote
1answer
2k views

DX11 application running on Windows XP using only DX9?

I'm developing an application that utilizes DX11. I know that DX11 is only available on Windows 7 (and Vista with SP). I wonder if there is some way to run the application on Windows XP and use only ...