I use something like this to get the structure out of lParam (in the low-level keyboard hook).
But it only returns a pointer.
If I use something like this to get a variable from this structure, I get memory addresses:Code:KBDLLHOOKSTRUCT *meep = (KBDLLHOOKSTRUCT *) lParam;
it will give the memory address to that specific variable inside the structure. How can I get the value of vkCode?Code:KBDLLHOOKSTRUCT *meep = (KBDLLHOOKSTRUCT *) lParam; char buffer[256]; MessageBox(HWND_DESKTOP,atoi(meep->vkCode,buffer,10),"Button is:",MB_OK);



LinkBack URL
About LinkBacks



