help about .dll c++

09/08/2012 14:10 glemor1234#1
Whenever they press F11 a message box will popup that says activated
how is it done?

Quote:
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}
09/08/2012 15:21 MrSm!th#2
Quote:
GetKeyState(VK_F11) < 0
You just AND the return value with 1 to check whether the first bit is set to find out if F11 was pressed. I've never seen "< 0" oO

MessageBox() is what you are looking for.