And later when pressing a mouse button:
trace:hook:HOOK_CallHooks calling hook in thread 0013 WH_MOUSE_LL code 0 wp 200 lp 4071d074
But then there is no other dinput message. Shouldn't there be a call of the mouse callback function?
There should, yeah.... But the way this works is that the event code is sending a message (via the server) to the thread which registered the hook via the DInput code. Now if that thread does not do any wait on any message, the message will time-out and the event will be lost (I had this issue with a game).
You could check by pressing a key to see if the keyboard low level hook is actually called or not.
By the way, could I know which game exhibits this problem and if I could download it to be able to debug on my box ?
Lionel
PS: this is the kind of stuff that Bugzilla should be used for (and would even work as we have a knowledgeable bug reporter who knows what he is doing :-) )