0

RPM C++

Hey guys! I was hoping you can help me. I have a readprocessmemory function that writes to a variabel in my program that's outputting the value to screen. But i want i to keep update the value ”live” i dont know how to explain. i dont want it to repeat the cout ”Current Value Is:” only update the value. i have tried a for loop.. help? :D

9th Jul 2018, 3:27 PM
Cloffe
1 Answer
0
while (true) { ReadProcessMemory(OpenProcessHandle, (PVOID)0x0018DB4C, &READ, sizeof(unsigned int), NULL); if (READ != RE_READ) { std::cout << "Current Value is: " << READ << std::endl; RE_READ = READ; } i have been trying some stuff now i have a loop that almost doing what i want... i have the loop reading from memory and write the value of the adress to screen and if value unchanged it do nothing if changed it is rewrite the new value to screen... but i want it to just update the value not rewrite the hole thing to screen over and over again. sorry for my bad english and explaination.
10th Jul 2018, 9:38 PM
Cloffe