Quantcast
Viewing all articles
Browse latest Browse all 15302

Bug with Animation Control

Good afternoon.

I have a bug with the Animate Control, when i use :

m_Animate.Open("search.avi");
m_Animate.Play(0, -1, -1);

i use a Sleep(500); in my program,

with the multi byte character set, the video opens and plays correctly, but when i use :

m_Animate.Open(_T("search.avi"));
m_Animate.Play(0, -1, -1);

the video won't play...

I triied to comment the line Sleep(500); and the video stops, Sleeps for 500ms and then restarts.

Any idea?



Viewing all articles
Browse latest Browse all 15302

Trending Articles