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:

Code:
void ReadInteger(UINT_PTR adress = fadress(BaseAddress, Offsets, 3)) {


	

	MessageBoxA(NULL, "Value: ", std::to_string(*(unsigned int*)adress).c_str(), MB_OK); 




}
result:
i.imgur.com/dx5KHyN.png

does anyone know how do i get the value of the pointer?

Thanks for your help!

Edit: solved.