Upon consecutive calls to 'DetourDetach' and 'DetourAttach' there is any chance to cause any kind of crash or error, into the hooked process? or is it considerable safe?
I'm asking in a scenario where you detach with the intention to pause the hooks, and then reenable them when needed.
or should i create any kind of ifelse in each API hooked?
Upon consecutive calls to
'DetourDetach'
and'DetourAttach'
there is any chance to cause any kind of crash or error, into the hooked process? or is it considerable safe?I'm asking in a scenario where you
detach
with the intention to pause the hooks, and then reenable them when needed. or should i create any kind ofif
else
in eachAPI
hooked?