m_OpenPath.SetWindowText(strPath);

 

错误原因:在给控件关联变量m_OpenPath时,变量类型选择错误

 

解决办法:

error C2039: 'SetWindowTextA' : is not a member of 'CString'

相关文章: