I want to receive a variable of type DWORD which will contain address pointer float *.
If I write this:
float *Object = 5;
std::cout << &Object;
It gives me exactly the value that I want (i.e: 0F235C1A).
Can you tell me how to assign this value to DWORD for using it in my Memory Write function?
Trying:
DWORD ObjAddress = &Object;
I got compiler error: cannot convert from 'float *' to 'DWORD'
DWORD?DWORDis a microsoft typedef'dunsigned longfloat *Object = 5;shouldn't compile, for one thing. What compiler are you using?