Jump to content
  • Advertisement

Archived

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

malpass

mouse_event() stops working

This topic is 5623 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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!