[Bug 3906] DInput related crash in Evil Genius

Wine Bugs wine-bugs at winehq.org
Thu Nov 24 14:49:51 CST 2005


------- Additional Comments From lionel.ulmer at free.fr  2005-24-11 14:49 -------
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface (this=0x5a1df318, 
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface Unsupported  
interface ! 


So it's trying to get the interface to a Device8A object.

Could you try changing the dlls/dinput/device.c file in the function
'IDirectInputDevice2AImpl_QueryInterface' adding the part with the '+' in front:

    if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
	*ppobj = This;
	return DI_OK;
+    if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
+	IDirectInputDevice7_AddRef(iface);
+	*ppobj = This;
+	return DI_OK;
+    }
    TRACE("Unsupported interface !\n");
    return E_FAIL;

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list