Click to See Complete Forum and Search --> : playing an avi?


409er
November 26th, 2002, 02:35 AM
Hi
How can I play an avi using c++? I saw a similar thread that suggested to use shellexecute, but I can't get it to work...and is there a better way (i.e. more flexibility in terms of how it's displayed)? Thanks a lot!

galathaea
November 26th, 2002, 06:25 PM
Just use the vfw32 library. You can use very simple commands to play, pause, etc. the avi. Here (http://codeproject.com/audio/mp3player.asp) is an example (ignore the fact that it says it is an mp3 player, as it also plays avis).