Runtime DLL loading for a core dependency module
I'm attempting to add a module as a core dependency. This module is simply a wrapper for importing an external library (a dll on windows) as well as a preprocessor define if it locates its essential components. This corresponds to some small changes in the code for loading pak files.
Everything works nicely up to the point that I still need my DLL in the active directory of any game binaries I create.
I need to find a way to invoke FPlatformProcess::GetDllHandle() to load the dll's from a more elegant location (IE binarie/thirdparty/mymodule).
I can't seem to do this in mymoduleclass::StartupModule() because doing so requires inheriting from core, creating a circular dependency.
Is there a better way to load DLL's for core dependencies?
Follow this question
Once you sign in you will be able to subscribe for any updates here