Hooking methods without dll's

Jul 17, 2009 at 9:31 PM

How can I hook a method that is not tied to a specific dll (that I know of) such as DirectInput8Create and Direct3DCreate8?

Thanks for reading.


Jul 17, 2009 at 9:55 PM


If I am not mistaken: googling by "Direct3DCreate8 dll file" gave the answer: d3d8.dll


Jul 18, 2009 at 3:07 AM

Absolutely silly of me not to search for this before posting... thank you for the reply.

I guess I was looking forward to a larger question of knowing the address of a method I would like to hook, but not having it exported from a dll.  Looking into this more I think an unmanaged hook would be the only way to go, but I am still looking into it.

Thank you