• Advertisement
Sign in to follow this  

Direct Input calling intercept

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I guys I'm trying to write a netcode for a game but I have no source-code of it. Now this game uses directinput to manage the input from user. I must find a way to send input data to game. I've tried hooks but without luckyness. Now I'm following the idea of dll-injection. I'm just able to catch the call to DirectInputCreate in d3d8.dll. But now I don't know what is the way to go. I know that Microsoft COM interface are classes with virtual members. How can I hook GetDeviceData() of the newly interface created? I have to rewrite the vtbl? Please answer me, I'm searching for this things for days first of posting here. I'm using C++ and visual studio .NET 2003. Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement