Jump to content
  • Advertisement
Sign in to follow this  

Direct Input calling intercept

This topic is 4961 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!