Jump to content
  • Advertisement


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


mouse_event() stops working

This topic is 5710 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!