ntdll load_dll broken WoW behavior
siro at das-labor.org
Fri Feb 6 05:02:13 CST 2015
Am 2015-02-06 09:22, schrieb Nikolay Sivov:
> On 06.02.2015 11:12, Patrick Rudolph wrote:
>> Hi guys,
>> I tried WoW as it seems to be in a good shape, but run into same
>> I hope you can clarify.
>> I've got an game that has two executables, 32bit and 64bit. It places
>> 32bit version of xinput1_3.dll in the same folder on startup.
>> Trying to start the 32bit version works fine, however starting the
>> version doesn't work.
>> For me it looks like the ntdll load_dll is the fault.
>> It searches for builtin xinput1_3 and finds the 32bit dll in the game
>> folder. It fails to open it (wrong ARCH) and that's it.
>> Instead of trying other directories it tries to load native.
>> Again it opens the first file found in the given path, it's the same
>> file again, it fails to open it and the application terminates.
>> Why doesn't it check for correct ARCH ?
>> Why doesn't it walk all directories / all path given, instead of just
>> using the first file found ?
> What do you mean by that? It doesn't check usual System32 dir for 64
> bit dll, is that what you expect?
Why doesn't it check for files in syswow64 ?
>> Does Windows 64bits behave the same ?
> Does this game work in Windows with same conditions? Or any minimal
> test case for that matter, like 64bit exe + 32bit dll with appropriate
> name, is that what you see?
I guess it is working, why should a vendor release a non functional game
But I cannot test it, as I do not own a Windows.
More information about the wine-devel