Quote:
Originally Posted by qqdev
Try:
DWORD value = *((DWORD*)handle + 0xE750F4);
|
This won't work due to pointer arithmetics.
Quote:
Originally Posted by mac'que
Code:
DWORD base = (DWORD)GetModuleHandleA(0);
DWORD val = *(DWORD*)(base + 0xE750F4);
|
This won't work if you're working in a x64 application.
Why is every *** **** newbie (excuse that word, but it was my experience so far) so obsessed with using DWORD as pointer type? Even the winapi does have something like UINT_PTR. In my opinion it's just bad coding style and shows that the programmer didn't make his own basic thoughts and / or has no idea what he is doing and / or is just C&Ping.
With best regards
Jeoni