[Bug 3906] DInput related crash in Evil Genius
Wine Bugs
wine-bugs at winehq.org
Thu Nov 24 14:49:51 CST 2005
http://bugs.winehq.org/show_bug.cgi?id=3906
------- Additional Comments From lionel.ulmer at free.fr 2005-24-11 14:49 -------
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface (this=0x5a1df318,
{54d41080-dc15-4833-a41b-748f73a38179},0x5c57493c)
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface Unsupported
interface !
DEFINE_GUID(IID_IDirectInputDevice8A,0x54D41080,0xDC15,0x4833,0xA4,0x1B,0x74,0x8F,0x73,0xA3,0x81,0x79);
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)) {
IDirectInputDevice7_AddRef(iface);
*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