Typically it represents a double word. On a 16-bit machine a WORD would be 16 bits, on a 32-bit machine, it would be 32 bits.
hello all,
i am learning c++ and taking lessons in school
i was lookin at source code for some hacks and i saw: *(DWORD*).
please explain what that does. i searched google and found nothing at all about that.
Typically it represents a double word. On a 16-bit machine a WORD would be 16 bits, on a 32-bit machine, it would be 32 bits.
Melodia (05-22-2010)
used in dll injections. you dont have to use dword you can use *(int*) or *(float*) etc...
Obama is right on the DWORD part. It's basically casting an address to a pointer then pointing to it's contents.
Example:
Address 0x12345678 stores the value of ammunition in a gun.
[php]
*(DWORD*)0x12345678 = 99999; // Now you have a crap load of ammo
[/php]
Yea...![]()
Hell_Demon (05-22-2010)