CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2014
    Posts
    31

    How do you fix this release mode compile error?

    else if (!FileExists(strFilePath))
    {
    AfxMessageBox(_T("The files ") + strFilePath + _T(" does not exist..."));
    }


    Error 1 error C2664: 'CEasyWebStoreUploaderDlg::FileExists' : cannot convert parameter 1 from 'ATL::CStringT<BaseType,StringTraits>' to 'CString' G:\EasyWebStoreUploader\EasyWebStoreUploaderDlg.cpp 157

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: How do you fix this release mode compile error?

    What is strFilePath?
    Is your build an ANSi or UNICODE?
    What is your compiler?
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured