c++ - How to convert ULONG64 to pointer -
i have ulong64 variable symbol_info structure contains virtual address represented 18446744073709551572 value , need convert void* can pass readprocessmemory function.
if do
reinterpret_cast<void*>(psyminfo->address) it gives me ffffffd4.
why? doing wrong? how can fix it?
thanks in advance.
not sure why reinterpret_cast not working should use ulongtoptr these kind of things.
readprocessmemory(process, ulongtoptr(virtual_address), &content, sizeof content, nullptr);
Comments
Post a Comment