I am trying to emulate a mouse and am using the following command to set the mouse cursor and am getting errors:
[DllImport("user32")]
public static extern int SetCursorPos(int x, int y)
I am very lost and any help would be appreciated