ntdll load_dll broken WoW behavior

Nikolay Sivov bunglehead at gmail.com
Fri Feb 6 02:22:58 CST 2015

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 issues.
> I hope you can clarify.
> I've got an game that has two executables, 32bit and 64bit. It places a
> 32bit version of xinput1_3.dll in the same folder on startup.
> Trying to start the 32bit version works fine, however starting the 64bit
> 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?

> 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?

> Regards

More information about the wine-devel mailing list