Commit 7f6ecdc2 authored by Alexandre Julliard's avatar Alexandre Julliard

Return ERROR_BAD_EXE_FORMAT when builtin dll still not found, since we

most likely loaded a 16-bit builtin.
parent a4f19d03
......@@ -164,8 +164,9 @@ WINE_MODREF *BUILTIN32_LoadLibraryExA(LPCSTR path, DWORD flags)
if (!(wm = MODULE_FindModule( path ))) wm = MODULE_FindModule( dllname );
if (!wm)
{
ERR( "loaded .so but dll %s still not found - library environment problem or version conflict, check your setup.\n", dllname );
ERR( "loaded .so but dll %s still not found - 16-bit dll or version conflict.\n", dllname );
/* wine_dll_unload( handle );*/
SetLastError( ERROR_BAD_EXE_FORMAT );
return NULL;
}
wm->dlhandle = handle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment