12-22-2010 11:56 AM
Hi all,
I want to play a mp3 file continuously in a loop such that the track first completes
and then start from the beginning, but it is not actually happening. The mp3 file starts
but doesn't complete and then again starts. I am using media player for playing the mp3
file.
The program looks like this
while( condition)
{
WMPLib_IWMPPlayer2SetURL (playerHandle, NULL, path);
}
Do i have to use some other function also?
12-27-2010 03:48 PM
Hi mhs100,
Depending on what windows media player version you have installed, they have different activeX functions. In the later versions there is an AutoRewind function. Do you happen to have access to the later versions of Windows Media Player activeX functions?
Thanks!