[Wine] Re: App can't load DLLs without sudo

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


I've been printfing my way through the wine source. It looks like the
only place that wine is searching for MSVCRT.DLL is in the folder that
contains LCC.EXE. It doesn't seem to be looking in windows/system32.
I've pasted some module output below.

Here's my .wine/config:

[paul at localhost LCC]$ cat ~/.wine/config
[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "c:\\temp"
"Path" = "c:\\windows;c:\\windows\\system;c:\\blanco"
"ShowDirSymlinks" = "1"

[DllOverrides]
"msvcrt" = "native"
"mfc42" = "native"
"ole32" = "native"
"oleout32" = "native"
"rpcrt4" = "native"
"linuxpos" = "builtin"
[paul at localhost LCC]$


[paul at localhost LCC]$ WINEDEBUG=+relay wine LCC.exe 2>~/out.txt
[paul at localhost LCC]$ grep -i MSVCRT.DLL ~/out.txt
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
[paul at localhost LCC]$ WINEDEBUG=+module wine LCC.exe 2>~/out.txt
[paul at localhost LCC]$ grep -i MSVCRT.DLL ~/out.txt
trace:module:load_dll looking for L"MSVCRT.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\\MSVCRT.dll"
warn:module:load_dll Failed to load module L"MSVCRT.dll";
status=c0000135
err:module:import_dll Library MSVCRT.dll (which is needed by
L"C:\\Program Files\\Syncrosoft\\LCC\\LCC.exe") not found
trace:module:load_dll looking for L"MSVCRT.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\\MSVCRT.dll"
warn:module:load_dll Failed to load module L"MSVCRT.dll";
status=c0000135
err:module:import_dll Library MSVCRT.dll (which is needed by
L"C:\\windows\\system32\\MSVCP60.dll") not found
[paul at localhost LCC]$



More information about the wine-users mailing list