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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -