I have problem.
I can comping neferty source code but i got:
EROR: Cannot open file detours.lib
Can someone send detours.lib there?
- Thanks
google-site-verification: googlebaca44933768a824.html
//x32 & x64 tested void* DetourFunc(PBYTE src, const PBYTE dest,const int iSize,char* szErrorMessage ) { if( src[0] == 0xE9 ) { //put a message box or somwhat log //to say its allready detoured //and you cant redetour it with this //phoenix_debug::add_log(szErrorMessage); return NULL; } else { unsigned char* jumpto = new unsigned char[iSize + 5]; VirtualProtect( src, iSize, PAGE_EXECUTE_READWRITE,new unsigned long); protected_memcpy(jumpto, src, iSize); jumpto += iSize; jumpto[0] = 0xE9; *(unsigned long*)(jumpto + 1) = (unsigned long)( src + iSize - jumpto ) - 5; src[0] = 0xE9; *(unsigned long*)(src + 1) = (unsigned long)( dest - src ) - 5; //VirtualProtect(src,iSize,PAGE_EXECUTE_READWRITE,new unsigned long); return (void*)(jumpto - iSize); } return NULL; }
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment