# How to unload/unlock a implicit-linked delay-loaded dll?

**URL:** <https://forums.unrealengine.com/t/how-to-unload-unlock-a-implicit-linked-delay-loaded-dll/432258>\
**Category:** Community & Industry Discussion\
**Tags:** dll, c-build, unreal-engine, question, hot-reload\
**Created:** [August 23, 2018, 5:55am UTC](https://forums.unrealengine.com/t/how-to-unload-unlock-a-implicit-linked-delay-loaded-dll/432258 "2018-08-23T05:55:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AirKuma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AirKuma](https://forums.unrealengine.com/u/AirKuma)\
**Post date:** [August 23, 2018, 5:55am UTC](https://forums.unrealengine.com/t/how-to-unload-unlock-a-implicit-linked-delay-loaded-dll/432258/1 "2018-08-23T05:55:47Z")

</div>

Sorry for my bad English.

During PIE, I can successfully unload my implicit-linked dll by calling _\_\_FUnloadDelayLoadedDLL2_, and consequently the dll file is no longer locked by the operating system.

However in my editor module, calling to _\_\_FUnloadDelayLoadedDLL2_ does not unlock the dll file.

The possible reasons I considered are:

1. The UE4 editor does something with my dll, so it prevent me from unlock the dll file.
2. The calling thread of _\_\_FUnloadDelayLoadedDLL2_ is wrong.

What is the actual reason I can not unlock the dll file used by editor module?  
How can I successfully unlock the dll from editor module?
