I've checked the address of mana and it should be tibia.exe+0x3C2D00. However, this code above does not work. It always fails to read the process memory. Anyone knows whats wrong?Code:tibiaWindow = FindWindow( L"TibiaClient", NULL); DWORD PID; GetWindowThreadProcessId( tibiaWindow, &PID ); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, PID); //Open Process for Read/Write short mana = 0; if( !ReadProcessMemory(hProcess, (void*)0x3C2D00, &mana, 2, 0) ) statusBar()->showMessage( "Error occured ", 3000 ); //shows me if failed else statusBar()->showMessage( QString::number(mana), 3000 ); //Shows me mana