you can do it without need of a dll,

include windows.h and use

SetCursorPos(x,y);
more info: http://msdn.microsoft.com/en-us/library/ms648394(VS.85).aspx

clamp x and y variables, and set mouse pos according to this variables in a loop.


3333333333