https://bugs.winehq.org/show_bug.cgi?id=39378
Bug ID: 39378 Summary: winecfg and ntdll disagree upon the proper place for DllOverrides key Product: Wine Version: 1.7.33 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: galtgendo@o2.pl Distribution: ---
I've run into this problem as I've tried to run a 32bit program in a 64bit prefix that needed native msvcr120.dll due to missing (at very least) some strto* functions.
When I've set the override via winecfg, they've got ignored till I've removed builtin from /usr/lib32/wine.
Surprisingly, environment override *did* work without that step, so I've dug in deeper - first via WINEDEBUG=loaddll, then WINEDEBUG="module,reg".
The conclusion was:
winecfg creates [Software\Wine\AppDefaults\foo\DllOverrides] keys ntdll looks at [Software\Wow6432Node\Wine\AppDefaults\foo\DllOverrides] keys
Obviously, ntdll trumps winecfg every time.
Correcting winecfg keys makes things work, but obviously, the entries disappear from winecfg.