hooking Engines Endscene
Why do i crash wenn i hook the engines endscene via ltcbase class ??
i only crash after about 5 seconds
its poretty weird since i thought they dont protect their stuff there :/
any suggestions ?
i only crash after about 5 seconds
its poretty weird since i thought they dont protect their stuff there :/
any suggestions ?
Code:
dwEngineEndscene = (DWORD)engine->pLTBase->End3D;
pEndScene = (oEndScene)dwEngineEndscene;
DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
DetourAttach(&(PVOID&)pEndScene, EngineEndScene);
DetourTransactionCommit();
![=]](/forum/images/emotions/=].gif)

