Playing wmv files form MCI Command Strings

Playing wmv files form MCI Command Strings

Post by fungk » Thu, 17 Jul 2003 16:12:35


When using MCI Command to open avi files, the following
command needs:

fname$ = "open " & FiName$ & " type AVIVideo _
alias animation parent "

cmdstring$ = fname$ + Str$(frmMain.Movie1.hwnd) + _
" style " + Str$(WS_CHILD)

ret& = mciSendString(cmdstring$, "0", 0, 0)


Can anyone tell me how to modify the above code thus
let it can open and handle wmv files?
 
 
 

Playing wmv files form MCI Command Strings

Post by Mark Raish » Fri, 01 Aug 2003 07:20:29

AFAIK, MCI won't play WMV or MPEG files, only AVIs. Your best bet is to try
DirectShow.

"fungko" < XXXX@XXXXX.COM > escreveu na mensagem