On Wed, 29 Sep 2004, Giuseppe Taroni wrote:> trace:process:__wine_kernel_init starting Win32 binary L"C:\\Program
Files\\Longman\\LDOCE\\ldoce.exe"
...> trace:process:__wine_kernel_init starting Win32 binary
L"C:\\windows\\temp\\~e5d141.tmp"
I see the dict. launches its child process. It would be nice to know,
which one of them doesn't run properly. But as the child process uses
mainly its own dlls:
> trace:loaddll:load_dll Loaded module
L"C:\\windows\\temp\\~ef0fe1\\~df394b.tmp" : native
> trace:loaddll:load_dll Loaded module
L"C:\\windows\\temp\\~ef0fe1\\drvmgt.dll" : native
> trace:loaddll:MODULE_FlushModrefs Unloaded module
L"C:\\windows\\temp\\~ef0fe1\\drvmgt.dll" : na tive
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\advapi32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\gdi32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\user32.dll" : builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" :
builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" :
builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" :
builtin
> trace:loaddll:load_dll Loaded module
L"C:\\windows\\temp\\~ef0fe1\\~de206e.tmp" : native
> trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" :
builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\x11drv.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\imm32.dll" : builtin
lets try tweaking DLL-overrides for the parent process:
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\advapi32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\gdi32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\user32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\iphlpapi.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\ws2_32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\wsock32.dll" : builtin
> trace:loaddll:load_dll Loaded module L"C:\\Program
Files\\Longman\\LDOCE\\MSVCRT.dll" : native
> trace:loaddll:load_dll Loaded module L"C:\\Program
Files\\Longman\\LDOCE\\nspr4.dll" : native
> trace:loaddll:load_dll Loaded module L"C:\\Program
Files\\Longman\\LDOCE\\plc4.dll" : native
> trace:loaddll:load_dll Loaded module L"C:\\Program
Files\\Longman\\LDOCE\\plds4.dll" : native
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\rpcrt4.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\ole32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\shlwapi.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\comctl32.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\shell32.dll" : builtin
> trace:loaddll:load_dll Loaded module L"C:\\Program
Files\\Longman\\LDOCE\\xpcom.dll" : native
> trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" :
builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" :
builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" :
builtin
> trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" :
builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\x11drv.dll" : builtin
> trace:loaddll:load_dll Loaded module
L"c:\\windows\\system\\imm32.dll" : builtin
I see the group of ole-related dlls (rpcrt4, ole32, maybe oleaut32 in
future) being loaded as builtin. Then I see shell32.dll builtin loaded.
And then - MSVCRT.DLL as native.
I suggest running some oppositive overides, for example such combinations:
$ WINEDLLOVERRIDES='msvcrt=b' WINEDEBUG=+process,+loaddll wine ldoce.exe
$ WINEDLLOVERRIDES='shell32=n' ...
$ WINEDLLOVERRIDES='rpcrt4,ole32,oleaut32=n' ...
For the second override shell32.dll should be installed or copied from
real windows box (I guess win98 one would be a better case here). The
only way to get it installed in Wine is to install IE, which is beyond my
skills.
For the third override you will need DCOM98 to be installed. And to
install this package in Wine you probably will need this command line:
$ WINEDLLOVERRIDES='ole32=n' wine DCOM98.EXE
Don't know, but windows reboot may be required to finish this, so try
this:
$ wineboot