Show the value from Pointer Address in Messagebox( Visual Studio 2017 C++)
Hello everyone,
i have been trying to show the value of the pointer address in a Messagebox and need your experience. Here is the code that kind-of works:
result:
i.imgur.com/dx5KHyN.png
does anyone know how do i get the value of the pointer?
Thanks for your help!
Edit: solved.
i have been trying to show the value of the pointer address in a Messagebox and need your experience. Here is the code that kind-of works:
Code:
void ReadInteger(UINT_PTR adress = fadress(BaseAddress, Offsets, 3)) {
MessageBoxA(NULL, "Value: ", std::to_string(*(unsigned int*)adress).c_str(), MB_OK);
}
i.imgur.com/dx5KHyN.png
does anyone know how do i get the value of the pointer?
Thanks for your help!
Edit: solved.