Jump to content
  • Advertisement
Sign in to follow this  
RoyChen204

AVI generator

This topic is 3733 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!