https://bugs.winehq.org/show_bug.cgi?id=46639
Bug ID: 46639 Summary: LoadLibraryShim fails in wow64 Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
The mscoree:mscoree 32-bit test fails on the tip when run in a 64-bit prefix: mscoree.c:372: Test failed: LoadLibraryShim failed, hr=80070006 mscoree.c:385: Test failed: LoadLibraryShim failed, hr=80070006
From a module log, it appears this is because it tries to load a 64-bit fakedll
for fusion.dll.
0009:trace:module:open_dll_file L"\??\C:\windows\Microsoft.NET\Framework\v1.1.4322\fusion.dll" is for arch 8664, continuing search 0009:warn:module:load_dll Failed to load module L"C:\windows\Microsoft.NET\Framework\v1.1.4322\fusion"; status=c000007b
On Windows, there is a separate Framework64 directory which contains the 64-bit fusion.dll.
I think fixing this will require updates to both mscoree and Wine Mono.