How to use MS Media Player Active-x control??
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I'm trying to use the windows media player active-x control in my app but i can't seem to load a file. This is what i have: CString Movie = "C:\mymovie.avi"; m_cPlayer.SetFileName(Movie); m_cPlayer.Play(); i tried to put "file:///" before the path because some web related stuff needs it, but that didn't work either. :( How do i load the file? Thanks Kuniva
-
I'm trying to use the windows media player active-x control in my app but i can't seem to load a file. This is what i have: CString Movie = "C:\mymovie.avi"; m_cPlayer.SetFileName(Movie); m_cPlayer.Play(); i tried to put "file:///" before the path because some web related stuff needs it, but that didn't work either. :( How do i load the file? Thanks Kuniva