fixme:dinput:IDirectInputAImpl_QueryInterface

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

fixme:dinput:IDirectInputAImpl_QueryInterface

Post by fcmartins »

I was trying oddworlds stranger's wrath and the game crashes after:

fixme:dinput:IDirectInputAImpl_QueryInterface Unsupported interface: {eb0d7dfa-1990-4f27-b4d6-edf2eec4a44c}
wine: Unhandled page fault on read access to 0x00000000 at address 0x6133db (thread 0039), starting debugger...

There is a bug for that: http://bugs.winehq.org/show_bug.cgi?id=26824

and the game actually works after winetricks dinput8.

However, the mouse does not function at all (not even buttons), which makes the game unplayable which is a pity for one bug.

Any suggestions for workarounds?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: fixme:dinput:IDirectInputAImpl_QueryInterface

Post by vitamin »

fcmartins wrote:Any suggestions for workarounds?
Short of stubbing that interface - none.
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

You mean you believe stubbing is good enough or would it just be a go for a lucky shot?

How come the direct input 8 docs from MS do not mention this interface?

http://msdn.microsoft.com/en-us/library ... 85%29.aspx
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

fcmartins wrote:You mean you believe stubbing is good enough or would it just be a go for a lucky shot?
It should be good enough. Might require some "meaningful" return values.

It's a joystick config interface. If you have no joystick it can always return empty result. BTW documentation is here: http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Locked