http://bugs.winehq.org/show_bug.cgi?id=32329
Bug #: 32329 Summary: RegOpenKeyExW causes dll initializations to fail Product: Wine Version: 1.5.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: tom.gankema@gmail.com Classification: Unclassified
I encountered this problem when trying to run a cracked version of Football Manager 2013, this game works under windows though. The errors I got look like:
err:module:attach_process_dlls "mpr.dll" failed to initialize, aborting
Tried to trace it down and it seems to be caused by the RegOpenKeyExW function, which is called somewhere in the initialization of the dll. When changing the call to RegOpenKeyExA the problem seems to be solved, but I am not knowledgeable to see what side effects this might have. The same problem occurs for other dll initializations for this game.
So it seems to be an ansi / unicode error which not exists under windows.