-
Dunno...
Dunno what exactly to call this thread (I just woke up...).
Anyway, i dont have access to any reference materials, or anything else, but I wanted to ask... I know there are HIWORD() and LOWORD() macros, but is there something like "MAKEDWORD(x, y)" where x and y are each 2 bytes, and it sticks them together to make a 4 byte DWORD?
Z.
-
I have seen MAKEWORD but not MAKEDWORD.
You can try using that. I hope that would work
-
shouldn't be hard to implement such a macro
#define MAKEDWORD(x, y) ((DWORD)(((WORD)x) | ((DWORD)((WORD)y)) << 16))
-
-
-
Thanks Megatron. Like I said, I have no access to reference material, or anything, but I realized that im going to need it soon.
Z.