djwilliams Posted May 2, 2009 Report Share Posted May 2, 2009 I was wondering if anyone would have ideas on how to detect what processes are hooked to DirectX/Direct3D. Any help/ideas would be wonderful.Thanks. Link to comment
holo13x Posted May 2, 2009 Report Share Posted May 2, 2009 what the problem with directX Link to comment
djwilliams Posted May 2, 2009 Author Report Share Posted May 2, 2009 No problem. I want to be able to detect and list all applications actively running that is hooked into DirectX Link to comment
matonga Posted May 3, 2009 Report Share Posted May 3, 2009 This is a really complex one.You would need to instance pretty all DirectX interfaces, then make a list of every .dll loaded and their's memory address ranges (maybe through WMI), then check every method pointer against these address ranges. You'll also need to disassemble every first 10 bytes (more or less) of code pointed by each method, and resolve any CALL / JMP FAR calls.I dunno if there is a program to do this already. I know madCodeHook can hook into COM interfaces (such as DirectX) but this is an uncommon practice (AFAIK). Link to comment
djwilliams Posted May 3, 2009 Author Report Share Posted May 3, 2009 sounds too complicated. but i have to do it. Link to comment
ChristianS Posted May 6, 2009 Report Share Posted May 6, 2009 to hook directX : http://www.codeproject.com/KB/system/Hooki...irectX_COM.aspxbut you, you want to know which window use directX !? Link to comment
djwilliams Posted May 6, 2009 Author Report Share Posted May 6, 2009 Yea I want to know all windows using it. Link to comment
matonga Posted May 8, 2009 Report Share Posted May 8, 2009 You meant processes which are using DirectX? Ouch, haha, forget my last post. Link to comment
keane Posted June 2, 2009 Report Share Posted June 2, 2009 (edited) You would have to inject some code into the target process,Then use GetModuleHandle to look for these DLLs: http://www.toymaker.info/Games/html/d3dx_dlls.html and some of the default dlls. Edited June 2, 2009 by keane Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now