I,m not c++ programmer on a daily basis, so I need help. I ‘wrote’ this. It’s new project ‘Windows Application’ in DevC++. I add this
#include <Commctrl.h>
//...
HWND film;
//...
film = Animate_Create(hwnd, 10, WS_CHILD | WS_VISIBLE | ACS_AUTOPLAY, hThisInstance);
Animate_OpenEx(film, hThisInstance, "a.avi");
Animate_Play(film, 0, -1, 1);
Animate_Stop(film);
But it’s not work. What is wrong? Window is open, but video not playing.
As Raymond Chen once blogged about, that animation control has many limitations. It was purposefully designed for only simple animations.
If any of these apply, you with either have to alter your AVI or use a different method to display it.