-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-02-06 um 12:53 schrieb Patrick Rudolph:
So system32 contains 64bit libraries and syswow64 32bit libraries... OK. then why doesn't it look into system32 for the correct dll ?
Do you have the library set to "native" or "native, builtin" maybe?
If it is set to native, is there a native xinput in system32, e.g. due to a DirectX installation?
I tried to place a 64 bit winmm in the directory of a 32 bit application (Warcraft 3). With winmm being the default "builtin, native" it loads wine's library. In case of xinput that'll give you a library that makes the game not crash but will not find a gamepad.
With the lib set to native, builtin the game crashes with a bad image error when trying to load winmm. It doesn't fall back to builtin. There is no functional winmm.dll in syswow64 except the mini-stub.
I haven't tested the case where there's a functional native library in syswow64 (or system32 for a 32 bit app)