nba
asked on
Active movie parameter
In activemovie.h, there is a function:
void SetFileName(LPCTSTR lpszNewValue);
What is the parameter ?
How to exec it?
Can give me an example if the wav file is
a.wav in current dir.
void SetFileName(LPCTSTR lpszNewValue);
What is the parameter ?
How to exec it?
Can give me an example if the wav file is
a.wav in current dir.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After trt and error
I run the following code but, it still find some error when exec
void CAPhoneDlg::OnPlay()
{
// TODO: Add your control notification handler code here
m_movie.AboutBox();
BOOL AStart=m_movie.GetAutoStar t();
CString filename=m_movie.GetFileNa me();
m_movie.SetFileName(filena me);
m_movie.SetAutoStart(AStar t);
}
Error: Property cannot be set at run time.
What problem?
I run the following code but, it still find some error when exec
void CAPhoneDlg::OnPlay()
{
// TODO: Add your control notification handler code here
m_movie.AboutBox();
BOOL AStart=m_movie.GetAutoStar
CString filename=m_movie.GetFileNa
m_movie.SetFileName(filena
m_movie.SetAutoStart(AStar
}
Error: Property cannot be set at run time.
What problem?
ASKER