My friend asked me to make him a simple auto clicker(always the same coordinate) for some game he plays. This is what I have so far:
Is the code, besides the missing argument, I already have ok? How do you turn the coordinate (256, 245) into an integer with the low word as X and the high word as Y?Code:#include <windows.h> int main(void) { HWND window = FindWindow(NULL, "RSCEmulation V6"); for(;;) { SendMessage(window, WM_LBUTTONDOWN, , MK_LBUTTON); } return 0; }
Thanks