[Wine] App can't load DLLs without sudo

suckerformimi cremoni at gmail.com
Mon Mar 19 00:47:47 CDT 2007


I'm trying to get the Syncrosoft License Control Center to run under
wine. for some reason it can only load MFC42.DLL and MSVCRT.DLL if I
put 'sudo' on the command line:

[paul at localhost LCC]$ wine LCC.exe
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\Program Files\\Syncrosoft\\LCC\\LCC.exe") not found
err:module:import_dll Library MSVCRT.dll (which is needed by
L"C:\\Program Files\\Syncrosoft\\LCC\\LCC.exe") not found
err:module:import_dll Library MSVCRT.dll (which is needed by
L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by
L"C:\\Program Files\\Syncrosoft\\LCC\\LCC.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program
Files\\Syncrosoft\\LCC\\LCC.exe" failed, status c0000135
[paul at localhost LCC]$


The permissions of these DLL's look fine. The files are in my
c:\\windows\\system32 folder.

I'm using a ~/.wine.config file with
[DllOverrides]
"msvcrt" = "native"
"mfc42" = "native"
"ole32" = "native"
"oleout32" = "native"
"rpcrt4" = "native"
"linuxpos" = "builtin"

Here's some output using I've run with WINEDEBUG=+module, and there's
no evidence that it's looking anywhere other than the LCC folder for
these DLLs.

trace:module:load_dll looking for L"MFC42.DLL" in L"C:\\Program
Files\\Syncrosoft\\LCC;.;c:\\windows\\system32;c:\\windows\\system;c:\\windows;c:\\windows\\system32;c:\\windows"
trace:module:get_load_order looking for L"C:\\Program
Files\\Syncrosoft\\LCC\\MFC42.DLL"
trace:module:get_load_order_value got standard key n for L"MFC42"
warn:module:load_dll Failed to load module L"MFC42.DLL";
status=c0000135

I'm new to wine and not sure where else to look. Thanks in advance for
any help here.

- Paul



More information about the wine-users mailing list