Am 27.07.2016 um 02:36 schrieb Bernhard Übelacker:
Hello Francois, "DirectX Software Development Kit" offers in "DirectX Control Panel" to increase the "Debug Output Level".
That way one can get another hint from dinput: DINPUT8: ERROR IDirectInput8::EnumDevicesBySemantics: arg 2: invalid UNICODE string
First I tried to build a dinput8.dll that just dumps the data it gets from dinput-mini.exe, but could not find any difference.
So I did some tests with DIACTIONA.lptszActionName member.
When the two last characters get replaced by \0 no fault is reported anymore. That way a succeeding exe and the failing differ (nearly) just in the two replaced bytes in lptszActionName.
Therefore can we assume that it is not the compilers fault, instead it uncovered a hidden bug either in the test or dinput?
Kind regards, Bernhard
Well, seems like 86cdf0b1cb7a15cb43dd0c600b66f6665aea87d2 indeed fixed it. Thanks!