Hi, I've been trying to load a dll using LoadLibrary. But the call to load that library returned a NULL. And when I run GetLastError, it showed me this error message:

‎"This application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this
problem."
I've installed the vcredist and copied the whole content of Microsoft.VC80.CRT to the binary folder since I thought maybe it was because of the SxS issue. I guess I was wrong.

BTW, does LoadLibrary always search for DLLMain? The one I tried to load doesn't have DLLMain.

What went wrong here? Thanks in advance.