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 CString
s out of all the string literals, then it should work.
精彩评论