mciSendString fails on second play
Posted on 2004-09-03
I have a program displaying video, but it seems to only work the first time. I use mciSendString with the following (in order, the "open" always succeeds).
open "%s" alias video1
play video1 fullscreen wait
The %s is replaced with the file name, obviously. This works fine under Win2000, and under some WinXP setups. But on most WinXP setups, the second time the video plays there is only sound, the screen is left blank white even if it is the same video file as the first time.
Am I missing a step or is there something funny going on? If so, what?