I have a DLL written in C# that uses Robert Giesecke's UnmanagedExports library and exports functions with [DllExport].
I can load it fine with LoadLibrary, and call its exported functions. When I tried to load it into memory using BTMemoryModule, the call of entry point (DllMain - DLL_PROCESS_ATTACH) TDllEntryProc (in function BTMemoryLoadLibary) returns false. How can I load such a DLL using BTMemoryModule.