I created a Form application in visual c#, that uses a function to generate mouse click, but i got the following error message:
A call to PInvoke function \'
Try using the folowing mouse_event signeture. Note uint instead of long.
mouse_event
static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);