DWORD combined with a pointer + using this in a function
I have one question:
Example:
I found this in MPGH and why using a cast to convert a value to a pointer in DWORD for a function?
so thanks for answering (and thanks for the answer before)
Example:
Code:
#include<windows.h>
#define playerpointer 0xABC12375
int main()
{
DWORD DllThePointerIsStoredIn = (DWORD*)GetModuleHandleA("example.dll");
DWORD playerPtr = *(DWORD*)(playerpointer);
}
I found this in MPGH and why using a cast to convert a value to a pointer in DWORD for a function?
so thanks for answering (and thanks for the answer before)




