Help request - alternative for SetCursorPos

08/28/2009 17:01 domiis#1
Im trying to create a bot with delphi, but I cant get mouse moving. Ive tried to use SetCursorPos, but it doesnt work I gues gameguard hooks it. Maybe someone knows any alternative for SetCursorPos which could work even if gameguard is running?

Thx for help
08/28/2009 20:54 wurstbrot123#2
Using google can bring real Wonder ;)

Myx = (XTarget.Text)
Myy = (YTarget.Text)

targetXY = MakeDWord((Myx), (Myy))

ReturnValue = SendMessage(hWndApp, WM_MOUSEMOVE, ByVal CLng(0), ByVal targetXY)

try this ^^