Hello i tray Memoryreading with c++ the first time! ok her is my sourche :ok test it going until he should atach the Process. i think the best is if you test it by your own. It would be verry nice if you could help me sorry for my bad english =(Code:// Memory.cpp: Hauptprojektdatei. #include "stdafx.h" using namespace System; #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <iostream> #include <tchar.h> #include <string> #pragma comment(lib, "user32.lib") #pragma comment(lib, "kernel32.lib") #define SE_DEBUG_NAME TEXT(*SeDebugPrivilege*) //#pragma comment(lib, "gdi32.lib") using namespace std; int _tmain(int argc, _TCHAR* argv[])// lol, ich nenns immer int main(int argc, char *argv[]) ^^ { HWND hWindow; DWORD dwProcId; DWORD rw=0; HANDLE hProcess; int ID; int puffer = 0; unsigned int adresse = 0x007E75E4; printf("Searching hWnd...\n"); while(!(hWindow = FindWindow(NULL, L"World of Warcraft"))); //Das it ein LPWSTR (oder so ähnlich^^) da musst du ein L davorstellen {Sleep(50);} printf("hWnd: 0x%i\n",hWindow); if(!hWindow); printf("Searching PocessId...\n"); do {GetWindowThreadProcessId(hWindow, &dwProcId);}while(!dwProcId); printf("dwProcId: 0x%i\n", dwProcId); printf("Searching Process Handle\n"); hProcess = OpenProcess(PROCESS_QUERY_INFORMATION|PROCESS_VM_READ|PROCESS_TERMINATE,false,dwProcId); if (hProcess) printf("Prozess opend!\n"); else printf("Prozess not opend!\n"); printf("Porcess Handle: 0x%i\n", hProcess); ReadProcessMemory(hProcess, (LPCVOID)adresse, &puffer, sizeof(puffer), &rw); std::cout<< puffer; Sleep(2000); CloseHandle(hProcess); std::cin >> ID ; return 0; }