env lookup in loading a dll

Bill Medland billmedland at mercuryspeed.com
Thu Oct 14 22:54:07 CDT 2004


On October 14, 2004 08:00 pm, Bill Medland wrote:
> Anyone any ideas about this?
>
> With recent changes in Wine, registering msxml4.dll results in the path in
> the registry being %SystemRoot%\system\msxml4.dll (which is correct). 
> Previously it was the explicit C:\windows\system\msxml4.dll.
>
> The result is that CoCreateInstance results in an attempt to LoadLibraryExW
> ("%SystemRoot%..., which LoadLibraryEx cannot handle (even under Windows).
> There does not appear to be an attempt to call GetEnvironmentVariable or
> GetWindowDirectory between the registry access that gets the InProcServer32
> and the call to LoadLibraryExW.
>
> Does anyone have any idea where the fault is likely to be?
> (Until I create a small test case I can't run with +relay)
Got it.
The registry code should have expanded it.

Is someone already working on the handling or REG_EXPAND_SZ on 
NtQueryValueKey?
-- 
Bill Medland
mailto:billmedland at mercuryspeed.com
http://webhome.idirect.com/~kbmed




More information about the wine-devel mailing list