This topic is now archived and is closed to further replies.


mouse_event() stops working

Recommended Posts

I''ve made a program that basically uses mouse_event to emulate mouse clicks, but after some time it starts to stop working. Basically I send a sequence every 3 seconds, click at 1 point, then type something (using keybd_event()) then click another. Now it always does the first 2 but stops doing the last event after some time. This is really strange. I also have 2 hooks set up, one for keyboard and 1 for mouse. Is there anything I should be doing to like clean up the events because i think it may be something to do with garbage

Share this post

Link to post
Share on other sites