Commit 77b8c0a4 authored by Alexandre Julliard's avatar Alexandre Julliard

NE_LoadBuiltinModule: return error 21 if the module we loaded was a

32-bit builtin. This should help WinExec16 to do the right thing.
parent 2fdc4dc5
......@@ -1169,7 +1169,8 @@ static HMODULE16 NE_LoadBuiltinModule( LPCSTR name )
{
if ((descr = find_dll_descr( dllname )))
return NE_DoLoadBuiltinModule( descr );
if (GetModuleHandleA( dllname ))
return 21; /* Win32 module */
ERR( "loaded .so but dll %s still not found\n", dllname );
}
else
......
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