开发者

How to add two pointers?

How to add parameterB and pictureName? I got an error that says: '+': cannot add two pointers.

  CString parameterA = _T("\"") + mycustompath + _T("identify.exe\"");  
  CString parameterB = _T(" -format \"%w\" ") + _T("\"") + mycustompath;
  C开发者_Go百科String parameterC = parameterB + pictureName + _T("\"");


if you replace all _T("...") with CString( _T("...") ) it will work 100%


You should make CStrings out of all the string literals, then it should work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜