-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
I have used detours on 2 projects. In the first project work fine.
The second project crash always when I use DetourAttach:
// This row cause crash
DetourAttach(&(LPVOID&)AddressOfHookDamageFunction, &HookDamageSub);
The second project is a 90% copy of the first project.
AddressOfHookDamageFunction = 0x72DD81 (this is stored in (ffback.ini)
Becouse is very hard understand why this happen. I attach the entere project:
BattleZone CC.zip
just open:
dllmain.cpp
goto "Init_Detour" and you find the line with DetourAttach.
To be honest I have no idea about this situation and I not sure if this is a bug,
Can you please verify ?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working