Code:
if(VirtualProtect((LPVOID)WardenAddress,sizeof(DWORD),0x40,&OldProtection) == 0)
{
MessageBoxA(NULL,"0","0",0);
}
MessageBoxA(NULL,"1","1",0);
Memory::Write<byte>(CHack::WoWBase + WardenAddress , 0xE9);
MessageBoxA(NULL,"2","2",0);
Memory::Write<int>(CHack::WoWBase + WardenAddress + 1, reinterpret_cast<unsigned int>(WardenScan) - (CHack::WoWBase + WardenAddress + 4 + 1));
MessageBoxA(NULL,"3","3",0);
here is my codes...
no only msgBox 1 showed, before 2 shows, it encounter a fatal exception. and i still don't get it
and my Memory:Write function will check if the write is successful, if not, it will throw a diffirent error than what i encountered