LoadLibraryEx(DONT_RESOLVE_DLL_REFERENCES) is fundamentally flawed

There is a flag to the function called . The documentation says, If this value is used, and the executable module is a DLL, the system does not call DllMain for process and thread initialization and termination. Also, the system does not load additional executable modules that are referenced by the specified module. If you are planning onl...