Guest User

Untitled

a guest
Apr 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.57 KB | None | 0 0
  1. #include "Form1.h"
  2. #include "Readpointer.h"
  3.  
  4. using namespace LeechMSEA; void SendMsKey(UINT key);
  5.  
  6. #define jmp(frm, to) (int)(((int)to - (int)frm) - 5) // Needed for some Hacks
  7. //Upon Loading
  8.  
  9. void SendMsKey(UINT key);
  10. {
  11.     ::HWND WNDMS = FindWindowA("MapleStoryClass", NULL);
  12.     ::PostMessage(WNDMS, WM_KEYDOWN, key, ::MapVirtualKey(key, 0) << 16);
  13.  
  14. }
  15. void Main(void)
  16. {
  17.     Application::EnableVisualStyles();
  18.     Application::SetCompatibleTextRenderingDefault(false);
  19.     Application::Run(gcnew Form1); //change Form1 this to the name of your Form
  20.     Application::Exit();
  21. }
Add Comment
Please, Sign In to add comment