Link to home
Start Free TrialLog in
Avatar of nba
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.
ASKER CERTIFIED SOLUTION
Avatar of galkin
galkin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nba
nba

ASKER

Can you give me a code as example ?
Avatar of nba

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.GetAutoStart();
      CString filename=m_movie.GetFileName();
      m_movie.SetFileName(filename);
      m_movie.SetAutoStart(AStart);      
}


Error: Property cannot be set at run time.
What problem?