Original Post
Hi guys! I have some peculiar questions. So...
Under Win7.
I wrote program that hooking LoadLibrary() from EXE file of game. It works fine- hook LoadLibrary(), then catch loading "d3d9.dll", then call my function LoadLibrary(), then call my Direct3DCreate9() and the end I get access to screen of game.
Under WinXP.
My hook dont work. LoadLibrary() catch some DLL from EXE file of game, but no one of them I can not seen in disassemble code of game and my hook procedure LoadLibrary() dont catch "d3d.dll" load, In one word d3d9.dll do not load at all, and hook do not works at all.
My question.
How creates Device of DirectX9 in EXE file of game in case WinXP? Game name Tomb Raider Anniversary.
Thanks.
Under Win7.
I wrote program that hooking LoadLibrary() from EXE file of game. It works fine- hook LoadLibrary(), then catch loading "d3d9.dll", then call my function LoadLibrary(), then call my Direct3DCreate9() and the end I get access to screen of game.
Under WinXP.
My hook dont work. LoadLibrary() catch some DLL from EXE file of game, but no one of them I can not seen in disassemble code of game and my hook procedure LoadLibrary() dont catch "d3d.dll" load, In one word d3d9.dll do not load at all, and hook do not works at all.
My question.
How creates Device of DirectX9 in EXE file of game in case WinXP? Game name Tomb Raider Anniversary.
Thanks.