Helphelp me , fix this hook

Posts 15 of 5 · Page 1 of 1
help me , fix this hook
DWORD WINAPI Hook(LPVOID lpArgs)
{
DWORD dwD3D9 = 0;

while(!dwD3D9) {
Sleep(100);
dwD3D9 = (DWORD)GetModuleHandle("d3d9.dll");
}

DWORD dwVTable[2] = { 0 };
CreateDevice(dwVTable);

oReset = (tReset) DetourCreate((PBYTE) dwVTable[16], (PBYTE) &hkReset, 5);
oPresent = (tPresent)DetourCreate((PBYTE) dwVTable[17], (PBYTE) &hkPresent, 5);

return FALSE;
}
encript d3d9.dll
Quote Originally Posted by sabatbatu View Post
encript d3d9.dll
Are you sure? Even if it's old hook?
By the way do you have DIP Patterns that will work in XP machines? @giniyat101 @-[I]fLuX Sorry for mentioning..
Quote Originally Posted by XxJuggernauTxX View Post
Are you sure? Even if it's old hook?
By the way do you have DIP Patterns that will work in XP machines? @giniyat101 @-[I]fLuX Sorry for mentioning..
I'm using windows 7
i can't bix your Hook D3D
but look at this:

return FALSE; <=== hook not actived maybee
}

and active

return true; or return 1;
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?