Sign in to follow this  

Direct Input calling intercept

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this