Problem at 32 bit systems
Hello, I have made a bot. it works perfectly on 64 bit systems. But, on 32, clicking by using "SendInput" doesn't work inside the games.
Should i compile it using a 32 bit windows or it should be done by another way ?
Should i compile it using a 32 bit windows or it should be done by another way ?
Code:
#define WINVER 0x0502
#include <windows.h>
void Click()
{
INPUT input;
input.type = INPUT_MOUSE;
input.mi.dx = 0;
input.mi.dy = 0;
input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
SendInput (1, &input, sizeof(input));
}