I have an application which plays .avi files. When I get a notification that the movie has ended I want to start another movie and so on. This works well for 5-6 hours (each movie lasts approx 30 seconds) then the program locks up. The code in the OnNotify event looks something like the following
MoviePlayer.Wait := true;
MoviePlayer.Notify := false;
MoviePlayer.FileName := 'plate.avi';
MoviePlayer.Wait := false;
MoviePlayer.Notify := true;
I have displayed a bunch of stuff about the memory and heap status each time the movie ends but nothing obvious shows up (I accept this may be due to my lack of skill in interpretation).
This is the first time I've used this service so I'm unsure whether I can e-mail you my test program.
Thanks in advance.