MapleStoryBOT
#include <Windows.h>
#include <stdio.h>
#include <string.h>
#include <wininet.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#define VK_DOWN 0x40
extern "C" __declspec(dllexport) int main()
{
HWND hWnd;
hWnd = FindWindow(NULL,TEXT("MapleStory"));
PostMessage(hWnd, WM_KEYDOWN, VK_DOWN, 0);
PostMessage(hWnd, WM_KEYUP, VK_DOWN, 0);
}
THIS C++ CODE IS NOT WORKING .............
WHY....?
#include <stdio.h>
#include <string.h>
#include <wininet.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#define VK_DOWN 0x40
extern "C" __declspec(dllexport) int main()
{
HWND hWnd;
hWnd = FindWindow(NULL,TEXT("MapleStory"));
PostMessage(hWnd, WM_KEYDOWN, VK_DOWN, 0);
PostMessage(hWnd, WM_KEYUP, VK_DOWN, 0);
}
THIS C++ CODE IS NOT WORKING .............
WHY....?



