Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 00:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help about .dll c++

Discussion on help about .dll c++ within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 69
Received Thanks: 54
help about .dll c++

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;
}
glemor1234 is offline  
Old 09/08/2012, 15:21   #2


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
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.
MrSm!th is offline  
Reply




All times are GMT +1. The time now is 00:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.