K
Krzysztof Poc
Hello
How can I convert ptr (of any type) to long.
Can I do that as follows:
long addr = reinterpret_cast<long>(&objOfAnyType);
Is it correct for all platforms 32/64 bit ?
If not, what is correct ?
thanks for help
How can I convert ptr (of any type) to long.
Can I do that as follows:
long addr = reinterpret_cast<long>(&objOfAnyType);
Is it correct for all platforms 32/64 bit ?
If not, what is correct ?
thanks for help