View Full Version : liveStop From Within ImageAvailable

August 18, 2005, 15:08:38

when i try to stop live mode from a procedure cald from within ImageAvailable rather tehn a click on a button the application hangs.
do u know why and how do avoid it ?

I need to stop capturing images after a certain amont of frames have elapsed how do i do this?


Stefan Geissler
August 19, 2005, 08:13:15

Yes, i know. You should start a timer. In the timer event you can call liveStop. This is the only way. If you call livestop in the ImageAvailable event, you remove the grabber, while it handles a frame. This results in many errors.