如何添加两个指针?
如何添加parameterB
和pictureName
?我收到一条错误消息:“+”:无法添加两个指针。
CString parameterA = _T("\"") + mycustompath + _T("identify.exe\"");
CString parameterB = _T(" -format \"%w\" ") + _T("\"") + mycustompath;
CString parameterC = parameterB + pictureName + _T("\"");
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;
CString parameterC = parameterB + pictureName + _T("\"");
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

如果将所有
_T("...")
替换为CString( _T("...") )
,它将 100% 工作if you replace all
_T("...")
withCString( _T("...") )
it will work 100%