It would be useful to have better error messages when the LoadLibraryEx is unable to load a library, e.g., showing the error code.