• Advertisement
Sign in to follow this  

AVI generator

This topic is 3498 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to intergrate an AVI generator from Code projects. I seem to be getting compilation error from this statement, which I am unsure how to solve # // finding avi # if( _tcsstr(m_sFile, _T("avi"))==NULL ) #{ # m_sFile+= _T(".avi"); #} The error returns as error C2668: '_tcsstr' : ambiguous call to overloaded function could be 'char *_tcsstr(char *,const char *)or'const char *_tcsstr(const char *,const char *)' while trying to match the argument list '(_bstr_t, const char [4])' Could someone help me please? [Edited by - RoyChen204 on July 25, 2008 10:57:57 PM]

Share this post


Link to post
Share on other sites
Advertisement
This seems a bit too easy.. but you're casting to (const char) instead of (const char*).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement