KERNEL: honor additional DLL search paths under HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Oct 2 19:37:40 CDT 2006


Mike McCormack escribió:
> Alex Villací­s Lasso wrote:
>
>> Changelog:
>> * Check under HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\App 
>> Paths\\EXENAME.EXE for
>>  additional directory locations to search for DLLs. Fixes Dreamweaver 
>> MX 6.0.
>
> This change is incorrect.  The App Pathes key is checked by 
> ShellExecute, not by CreateProcess.
>
> Try running "wine start exename.exe"
>
> Mike
>
[alex at srv64 Dreamweaver MX]$ wine start Dreamweaver.exe
fixme:exec:SHELL_execute flags ignored: 0x00000500
[alex at srv64 Dreamweaver MX]$ fixme:ole:CoRegisterMessageFilter message 
filter has been registered, but will not be used
fixme:system:SystemParametersInfoW Unimplemented action: 65 
(SPI_SETSOUNDSENTRY)fixme:shell:SHGetFileInfoW set icon to shell size, stub
fixme:shell:SHGetFileInfoW set icon to shell size, stub
err:x11drv:X11DRV_CreateWindow invalid window height -2
err:x11drv:X11DRV_CreateWindow invalid window height -4
err:x11drv:X11DRV_CreateWindow invalid window height -2
err:x11drv:X11DRV_CreateWindow invalid window height -2
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
err:module:import_dll Library Gemstone.dll (which is needed by 
L"C:\\Archivos de programa\\Macromedia\\Dreamweaver 
MX\\Configuration\\JSExtensions\\DWEMLaunch.dll") not found
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub
fixme:imm:ImmReleaseContext (0x101cc, 0x159978): stub

Dreamweaver still can't find the DLL without my patch, even with the 
"start" command, as demonstrated in the previous trace. Did you mean 
that my patch *should* have placed the check in ShellExecute? Does 
cmd.exe from Windows XP use CreateProcess or ShellExecute? I plan to 
install DreamWeaver MX 6 inside a virtual machine, to check actual 
behavior. If cmd.exe uses CreateProcess and your statement is correct, 
then the error message should also appear when Dreamweaver.exe is 
executed from the command line.

-- 
The following cryptic message was allegedly found in the inner edge of a Windows
XP installation CD:

4F6E65204F5320746F2072756C65207468656D20616C6C2C204F6E65204F5320746F2066696E6420
7468656D2C0D0A4F6E65204F5320746F206272696E67207468656D20616C6C20616E6420696E2074
6865206461726B6E6573732062696E64207468656D2E0A

It is rumored that only a true Unix Wizard can decypher this mysterious message,
which supposedly encodes the true nature and purpose of the software.




More information about the wine-devel mailing list