Detours
Detours copied to clipboard
Can I call a function from Exe in the injected function of the dll ?
I am new to learn the hook, I have a question For example I know the address
typedef DWORD(*calcTextCharLengh_type)(char*, DWORD*);
myfun is my hook function
void myfun(){
calcTextCharLengh_type calcTextCharLength = reinterpret_cast<calcTextCharLengh_type>(0x410C20);
calcTextCharLength(xxx,xxx);
}
//when hook Successfully,the exe crash in this call, how can I call the exe's function