Sign in to follow this  
dk32321

playing avi in mcisendstring

Recommended Posts

dk32321    142
I have a question-how to you play an avi file using the mcisendstring functions i tried to look at msdn, but i really couldnt understand it.

Share this post


Link to post
Share on other sites
Drew_Benton    1861
I'm not sure if it'll help, but you can try using the VB tutorials on how to do this in C++ and see if it works [wink] From one source:

mciSendString("Open myfilm.avi type AVIVideo Alias Video", "",0,0);
mciSendString("Play Video FullScreen","",0,0);
mciSendString("Close Video","",0,0);


Of course change the "myfilm.avi" to your own file. Like I said, not sure if it'll work, but things are *usually* the same b/t C++ and VB usage of Win32 api calls.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
What's wrong with using command messages? MSDN has a section that describes playing AVIs using that method here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_playing_a_movie.asp

As an added bonus, that section contains source code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this