Error loading DLL (GetLastError=193)

DebashishPatra
Tue, 16 Apr 2019 12:53:03 +0000
Community & Industry Discussion

I am following [DLL linking tutorial][1]. As of VS 2017, i can’t get my DLL to work with unreal. I get the following error.

I have debugged the UE4 part of code and there is no chance of any mistakes there. As you can see any other DLL picked from any other application runs fine.

I have tried :

Setting VS2017 in release + x64

I have built dll with and without stdafx.h included

I have built DLL removing every include from everywhere

Would you kindly let me know what settings would one use to make compatible UE4 DLLs.
I do understand that packing proprietary DLLs into shipped project is a bad practice. But i would like to have the knowledge handy for Educational purposes.

Thank you for your help in advance.

3 posts - 2 participants