# Is working with dlls a good idea or is there another solution?

**URL:** <https://forums.unrealengine.com/t/is-working-with-dlls-a-good-idea-or-is-there-another-solution/405418>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 25, 2017, 2:11pm UTC](https://forums.unrealengine.com/t/is-working-with-dlls-a-good-idea-or-is-there-another-solution/405418 "2017-09-25T14:11:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b5a80a54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b5a80a54](https://forums.unrealengine.com/u/anonymous_user_b5a80a54)\
**Post date:** [September 25, 2017, 2:11pm UTC](https://forums.unrealengine.com/t/is-working-with-dlls-a-good-idea-or-is-there-another-solution/405418/1 "2017-09-25T14:11:57Z")

</div>

Hello,

I was wondering, since I am currently working on implementing a project which is almost entirely inside ddls, why is there so little information on how to work with dll?

I have followed those tutorials:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

and with the help of those topics:

> **[Adding third party DLL path for plugin](https://forums.unrealengine.com/questions/427772/adding-dll-path-for-plugin.html)**
>
> I am using a third party dll with import library and .h file , so far I am able to get it working if I place the dll in the binaries folder of the game project , however this is undesirable for a plugin. but if I move it somewhere else and put the...

> **[How do you link to a DLL from a plugin?](https://forums.unrealengine.com/questions/262233/how-do-you-link-to-a-dll-from-a-plugin.html)**
>
> So I have some code I didn’t write in front of me and it mostly makes sense. To build it however it requires the addition of an SDK in the form of a DLL. What I’ve worked out so far is to add everything to “Thirdparty/MySDK” with the \*.h files...

> **[How do you load functions from a dll plugin in UE4?](https://forums.unrealengine.com/questions/29638/how-do-you-load-functions-from-a-dll-plugin-in-ue4.html)**
>
> I am still very confused about how to load functions from a dll that has no source or header files (just the .dll file placed in the Plugins folder) is there anything in c++ or UE4 equivalent to Unity’s DLLImport function? any suggestions or...

> **[Third party library plugin : how can I rebuild library while unreal engine...](https://forums.unrealengine.com/questions/708501/third-party-library-plugin-how-can-i-rebuild-libra.html)**
>
> Hello, Due to my company needs, I am to see if it’s easy to work with third party dlls (we have much of them and would like to plug them in the engine). So I try the third party library plugin template (with the ExampleLibrary printing “Hello...

I managed to link a dll and use it in my project (show a message/do some math), moreover, I can now change the code inside my dll without restarting the Editor (The dll needs to be freed by the Engine and by windows, as the last topic shows), but it has been a real challenge to get those results.  
**And now I need to create Unreal Engine objects (Actors, Objects, Components) inside my dlls, but I can’t figure how to connect the unreal API. Is there a way to call the UBT in a dll, or can I do it without the UBT (I don’t think so, every Objects have their macros from the UBT…)?**

The idea of using dlls is to be the most independent from the Editor as possible.

However, the lack of information on that subject makes me think that another way of achieving my goal exists, but I have no clue how and I am very interested to know if it does exist.
