>Hi there,
>
>I'm having some success in playing AVI files in Visual FoxPro 5.0a forms, using the sample code supplied in samples\classes\samples.vcx.
>
>However, I'd like to "loop" the AVI automatically. The sample code appears to use a timer control to do this. I'd rather not use the timer, as it doesn't always function well if FoxPro tries to do some intensive data manipulation.
>
>Is there any way of calling WinMM.dll and instructing it to loop automatically ?
>
>Best.
>
>Matt.
The only way I know of is to check the position, as shown in the sample. I think that's why they used the timer. There is a reference, however, to providing a callback window handle. I don't know for certain, but suspect, that you'd have to define a callback function as well. Since you can't do this in VFP, it's probably another reason why they used the timer.
George
Ubi caritas et amor, deus ibi est