Application stops receiving events
Re: Application stops receiving events
What if you get the camera directly in OnTimer instead of OnIdle?
-
- Earned some good credits
- Posts: 100
- Joined: Sun Jun 27, 2010 6:18 pm
Re: Application stops receiving events
So the problem appears also when completely removing idle events and do all processing in onTimer event handler.
-
- Earned some good credits
- Posts: 100
- Joined: Sun Jun 27, 2010 6:18 pm
Re: Application stops receiving events
So I probably found a cause of the problem. There was a hidden call to ProcessEvent initiated from the child thread which resulted in calling GUI functions from this child thread. After fixing this, the problem does not seem to appear anymore