DWORD proccess_ID;GetWindowThreadProcessId(hWnd, &proccess_ID);HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID);if(!hProcess){MessageBox(0, _T(\"Nem sikerült megnyitni a folyamatot!\"), _T(\"Hiba\"), MB_OK|MB_ICONERROR);}
------ Rebuild All started: Project: Memory, Configuration: Release Win32 ------Build started 2014.11.13. 17:18:41._PrepareForClean: Deleting file \"Release\\Memory.lastbuildstate\".InitializeBuildStatus: Creating \"Release\\Memory.unsuccessfulbuild\" because \"AlwaysCreate\" was specified.ClCompile: stdafx.cpp Memory.cppLink: Generating code Finished generating code Memory.vcxproj -> C:\\Documents and Settings\\S\\Asztal\\asztal\\Memory\\Release\\Memory.exeFinalizeBuildStatus: Deleting file \"Release\\Memory.unsuccessfulbuild\". Touching \"Release\\Memory.lastbuildstate\".Build succeeded.Time Elapsed 00:00:19.03========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========