Direct Input calling intercept
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement