
Since the current folder is searched first, before going to system32 etc., my modified DLL gets loaded, executing my additional code.ĭownside: You have to put it there before you start the game. As an example, you could take the frame counter overlay of FRAPS, which is shown in games when activated.Ĭreating a new d3d9.dll, which is then copied to the games path. I want to detour EndScene from an arbitrary DirectX 9 application to create a small overlay.
